From e1db503689ae54aa3513f73b6e1aa4212ded2641 Mon Sep 17 00:00:00 2001 From: yar Date: Fri, 28 Jul 2006 16:09:19 +0000 Subject: 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 --- usr.bin/netstat/netgraph.c | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.bin/netstat/netgraph.c') diff --git a/usr.bin/netstat/netgraph.c b/usr.bin/netstat/netgraph.c index e156989..267df9d 100644 --- a/usr.bin/netstat/netgraph.c +++ b/usr.bin/netstat/netgraph.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include -- cgit v1.1