Commit 5d8a7529 authored by Adam Borowski's avatar Adam Borowski Committed by Stephen Hemminger

ip: fix build failure if time_t is not long int

This includes x32, and, per Linus' decree, any future arch with longs
shorter than 64 bits.
Signed-off-by: default avatarAdam Borowski <kilobyte@angband.pl>
parent 260804f4
......@@ -1330,7 +1330,7 @@ static int iproute_list_flush_or_save(int argc, char **argv, int action)
if (time(0) - start > 30) {
printf("\n*** Flush not completed after %ld seconds, %d entries remain ***\n",
time(0) - start, filter.flushed);
(long)(time(0) - start), filter.flushed);
exit(1);
}
......
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