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 <andreas@fatal.se>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
This commit is contained in:
Andreas Henriksson 2007-10-12 14:37:09 +02:00 committed by Stephen Hemminger
parent 57a800d45a
commit 64e2ad593b
2 changed files with 2 additions and 2 deletions

View 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;

View 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);