diff options
author | yar <yar@FreeBSD.org> | 2006-07-28 16:09:19 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2006-07-28 16:09:19 +0000 |
commit | e1db503689ae54aa3513f73b6e1aa4212ded2641 (patch) | |
tree | a96eb543030e3d44f3753ab7e82506f8d20fb99b /usr.bin/netstat/ipx.c | |
parent | aa2529c0155cd13a19220e5ce17be7a511f54099 (diff) | |
download | FreeBSD-src-e1db503689ae54aa3513f73b6e1aa4212ded2641.zip FreeBSD-src-e1db503689ae54aa3513f73b6e1aa4212ded2641.tar.gz |
Achieve WARNS=2 by using uintmax_t to pass around 64-bit quantities,
including to printf(). Using uintmax_t is also robust to further
extensions in both the C language and the bitwidth of kernel counters.
Tested on: i386 amd64 ia64
Diffstat (limited to 'usr.bin/netstat/ipx.c')
-rw-r--r-- | usr.bin/netstat/ipx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/netstat/ipx.c b/usr.bin/netstat/ipx.c index 04ba023..8b71dbd 100644 --- a/usr.bin/netstat/ipx.c +++ b/usr.bin/netstat/ipx.c @@ -65,6 +65,7 @@ __FBSDID("$FreeBSD$"); #include <nlist.h> #include <errno.h> +#include <stdint.h> #include <stdio.h> #include <string.h> #include "netstat.h" |