]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commitdiff
Also do tc_core_time2big argument (long->unsigned).
authorAndreas Henriksson <andreas@fatal.se>
Fri, 12 Oct 2007 12:37:09 +0000 (14:37 +0200)
committerStephen Hemminger <shemminger@linux-foundation.org>
Fri, 12 Oct 2007 23:06:22 +0000 (16:06 -0700)
tc_core_time2big only used in tc/q_netem.c where it gets passed an unsigned.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
tc/tc_core.c
tc/tc_core.h

index 8c3a2acce2cad83925635e2b92eed0c26d49950b..1365e081479a38c39f14051f4ab133c599f5a030 100644 (file)
@@ -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;
 
index b1ede1eddf544c04794b72641ff34165c1161c29..3a0ed7cc3250a0c753b5c941840ce9dfec3572b9 100644 (file)
@@ -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);