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.
This commit is contained in:
parent
57afe381f7
commit
04b764d8f4
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user