From d573049b5b7c4752c1199bd92b2e4b5872e66565 Mon Sep 17 00:00:00 2001 From: delphij Date: Wed, 13 Jun 2007 02:37:00 +0000 Subject: sctp_process_inpcb() wants an offset parameter in size_t, so define it as what it is expected. This fixes WARNS=3 without NO_WERROR build. --- usr.bin/netstat/sctp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/netstat') diff --git a/usr.bin/netstat/sctp.c b/usr.bin/netstat/sctp.c index 02c1476..01b3342 100644 --- a/usr.bin/netstat/sctp.c +++ b/usr.bin/netstat/sctp.c @@ -436,7 +436,7 @@ sctp_protopr(u_long proto, { char *buf; const char *mibvar = "net.inet.sctp.assoclist"; - u_int offset = 0; + size_t offset = 0; size_t len = 0; struct xsctp_inpcb *xinpcb; -- cgit v1.1