diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-06-25 01:39:21 +0200 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2013-06-25 13:36:56 -0700 |
commit | 5d8a75293c61e3f03f365398a8745f0d71331d02 (patch) | |
tree | eba6f36d340cd71783cd812e44a29937dc2e69c6 | |
parent | 260804f422fd33aa78379270d564a495b7bb5717 (diff) |
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: Adam Borowski <kilobyte@angband.pl>
-rw-r--r-- | ip/iproute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ip/iproute.c b/ip/iproute.c index adef7740..d3c56d3d 100644 --- a/ip/iproute.c +++ b/ip/iproute.c @@ -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); } |