mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
fixed bug #5067 (essentialy a signed/unsigned warning fixed by casting to unsigned).
This commit is contained in:
parent
3eb38d7611
commit
776c01e60b
@ -71,6 +71,10 @@ HISTORY
|
||||
|
||||
++ Bug fixes:
|
||||
|
||||
2007-03-21 Simon Goldschmidt
|
||||
* sockets.c: fixed bug #5067 (essentialy a signed/unsigned warning fixed
|
||||
by casting to unsigned).
|
||||
|
||||
2007-03-21 Frédéric Bernon
|
||||
* api_lib.c, api_msg.c, tcpip.c: integrate sys_mbox_fetch(conn->mbox, NULL) calls from
|
||||
api_lib.c to tcpip.c's tcpip_apimsg(). Now, use a local variable and not a
|
||||
|
@ -94,7 +94,7 @@ static int err_to_errno_table[] = {
|
||||
(sizeof(err_to_errno_table)/sizeof(err_to_errno_table[0]))
|
||||
|
||||
#define err_to_errno(err) \
|
||||
(-(err) >= 0 && -(err) < ERR_TO_ERRNO_TABLE_SIZE ? \
|
||||
((unsigned)(-(err)) < ERR_TO_ERRNO_TABLE_SIZE ? \
|
||||
err_to_errno_table[-(err)] : EIO)
|
||||
|
||||
#ifdef ERRNO
|
||||
|
Loading…
Reference in New Issue
Block a user