sctp: fix a signed/unsigned mismatch.
MFC after: 3 days
This commit is contained in:
parent
5c73b3e0a3
commit
11c4d4b966
@ -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;
|
||||
|
@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");
|
||||
#define _NETINET_SCTP_CRC32_H_
|
||||
|
||||
#if defined(_KERNEL)
|
||||
uint32_t sctp_calculate_cksum(struct mbuf *, uint32_t);
|
||||
uint32_t sctp_calculate_cksum(struct mbuf *, int32_t);
|
||||
#if defined(SCTP) || defined(SCTP_SUPPORT)
|
||||
void sctp_delayed_cksum(struct mbuf *, uint32_t offset);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user