summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index f099aa5..c3109c7 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -2029,10 +2029,10 @@ tcpsignature_compute(struct mbuf *m, int off0, int len, int optlen,
}
int
-tcpsignature_apply(void *fstate, void *data, unsigned int len)
+tcpsignature_apply(void *fstate, void *data, u_int len)
{
- MD5Update((MD5_CTX *)fstate, (unsigned char *)data, len);
+ MD5Update((MD5_CTX *)fstate, (unsigned char *)data, (unsigned int)len);
return (0);
}
#endif /* TCP_SIGNATURE */
OpenPOWER on IntegriCloud