From 6ca8bc4037fcdb80a9e6bf2a6f09061fc721face Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Sat, 10 Jan 2015 13:59:55 +0100 Subject: [PATCH] inet_checksum: fixed prototype of lwip_standard_chksum() when LWIP_CHKSUM_ALGORITHM == 1 --- src/core/inet_chksum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/inet_chksum.c b/src/core/inet_chksum.c index 448cc5b8..01a8fa96 100644 --- a/src/core/inet_chksum.c +++ b/src/core/inet_chksum.c @@ -79,7 +79,7 @@ u16_t lwip_standard_chksum(void *dataptr, int len); * @note host endianess is irrelevant (p3 RFC1071) */ u16_t -lwip_standard_chksum(void *dataptr, u16_t len) +lwip_standard_chksum(void *dataptr, int len) { u32_t acc; u16_t src;