[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] checksum
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] checksum |
Date: |
Sat, 10 Jan 2015 14:05:08 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello Nikolas,
On Sat, Jan 10, 2015 at 01:00:41PM +0930, Nikolas Karakotas wrote:
> Hi Simon,
>
> When (LWIP_CHKSUM_ALGORITHM == 1) the function isn't the same as the
> function definition and uses a u16_t.
> Below is the error:
>
> ../src/lwip/core/inet_chksum.c:82:1: error: conflicting types for
> 'lwip_standard_chksum'
> lwip_standard_chksum(void *dataptr, u16_t len)
Indeed, fixed, thanks.
By the way, why are we using a int type here ? This is one of the few
occurrence where we are not using a lwip-type.
Sylvain
signature.asc
Description: Digital signature