lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] ioctl() plus compiler warnings/errors


From: leon . woestenberg
Subject: Re: [lwip-users] ioctl() plus compiler warnings/errors
Date: Mon, 17 Feb 2003 16:35:41 +0100

Hello,

I think the preferable method is to define the constants
with a U suffix (unsigned).

for example:
#define TF_ACK_FOOBAR 8U


----
Also, I have added some changes which quiets the same compiler errors (for
the Diab compiler) when assigning bit complements to char or short
variables. These are just simple casts:

diff -r1.1.2.1 tcp_out.c
377c377
<     pcb->flags &= ~(TF_ACK_DELAY | TF_ACK_NOW);
----


Leon Woestenberg






reply via email to

[Prev in Thread] Current Thread [Next in Thread]