From: Andreas Henriksson Date: Fri, 12 Oct 2007 12:37:09 +0000 (+0200) Subject: Also do tc_core_time2big argument (long->unsigned). X-Git-Tag: v2.6.23-071016~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64e2ad593b7610d547741aa3d68b5f130c0560b0;p=thirdparty%2Fiproute2.git Also do tc_core_time2big argument (long->unsigned). tc_core_time2big only used in tc/q_netem.c where it gets passed an unsigned. Signed-off-by: Andreas Henriksson Signed-off-by: Stephen Hemminger --- diff --git a/tc/tc_core.c b/tc/tc_core.c index 8c3a2acce..1365e0814 100644 --- a/tc/tc_core.c +++ b/tc/tc_core.c @@ -26,7 +26,7 @@ static double tick_in_usec = 1; static double clock_factor = 1; -int tc_core_time2big(long time) +int tc_core_time2big(unsigned time) { __u64 t = time; diff --git a/tc/tc_core.h b/tc/tc_core.h index b1ede1edd..3a0ed7cc3 100644 --- a/tc/tc_core.h +++ b/tc/tc_core.h @@ -6,7 +6,7 @@ #define TIME_UNITS_PER_SEC 1000000 -int tc_core_time2big(long time); +int tc_core_time2big(unsigned time); unsigned tc_core_time2tick(unsigned time); unsigned tc_core_tick2time(unsigned tick); unsigned tc_core_time2ktime(unsigned time);