summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/netstat/sctp.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud