diff --git a/src/core/inet.c b/src/core/inet.c index c8d7a852..9abbcbe1 100644 --- a/src/core/inet.c +++ b/src/core/inet.c @@ -64,7 +64,7 @@ lwip_chksum(void *dataptr, int len) } acc = (acc >> 16) + (acc & 0xffffUL); - if(acc & 0xffff0000 != 0) { + if((acc & 0xffff0000) != 0) { acc = (acc >> 16) + (acc & 0xffffUL); }