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:
Xin LI 2007-06-13 02:37:00 +00:00
parent 57afe381f7
commit 04b764d8f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170646

View File

@ -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;