aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_crc32.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2022-02-17 21:44:41 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2022-02-17 21:45:57 +0000
commit11c4d4b9668c3092838beb168e0bbb3187433748 (patch)
treec8188e26e5207e70a69d778a04688598ca1b8330 /sys/netinet/sctp_crc32.c
parent5c73b3e0a3db79a3d8b96b3b4c8bc4fb7fee35f2 (diff)
Diffstat (limited to 'sys/netinet/sctp_crc32.c')
-rw-r--r--sys/netinet/sctp_crc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_crc32.c b/sys/netinet/sctp_crc32.c
index 9e17637d74d6..816a72bbea7b 100644
--- a/sys/netinet/sctp_crc32.c
+++ b/sys/netinet/sctp_crc32.c
@@ -90,7 +90,7 @@ sctp_calculate_cksum_cb(void *arg, void *data, u_int len)
* it is compiled on a kernel with SCTP support.
*/
uint32_t
-sctp_calculate_cksum(struct mbuf *m, uint32_t offset)
+sctp_calculate_cksum(struct mbuf *m, int32_t offset)
{
uint32_t base;
int len;