mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
inet_checksum: fixed prototype of lwip_standard_chksum() when LWIP_CHKSUM_ALGORITHM == 1
This commit is contained in:
parent
5dd6b1effc
commit
6ca8bc4037
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user