Commit 64e2ad59 authored by Andreas Henriksson's avatar Andreas Henriksson Committed by Stephen Hemminger

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: default avatarAndreas Henriksson <andreas@fatal.se>
Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
parent 57a800d4
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment