inet_checksum: fixed prototype of lwip_standard_chksum() when LWIP_CHKSUM_ALGORITHM == 1

This commit is contained in:
Sylvain Rochet 2015-01-10 13:59:55 +01:00
parent 5dd6b1effc
commit 6ca8bc4037

View File

@ -79,7 +79,7 @@ u16_t lwip_standard_chksum(void *dataptr, int len);
* @note host endianess is irrelevant (p3 RFC1071) * @note host endianess is irrelevant (p3 RFC1071)
*/ */
u16_t u16_t
lwip_standard_chksum(void *dataptr, u16_t len) lwip_standard_chksum(void *dataptr, int len)
{ {
u32_t acc; u32_t acc;
u16_t src; u16_t src;