mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 04:54:38 +08:00
sockets.c: fixed using unsigned constant 'FIONBIO' in switch on (signed) long
This commit is contained in:
parent
ca26fd17a7
commit
1bf2e313f6
@ -2586,7 +2586,7 @@ lwip_ioctl(int s, long cmd, void *argp)
|
||||
#endif /* LWIP_SO_RCVBUF */
|
||||
#endif /* LWIP_SO_RCVBUF || LWIP_FIONREAD_LINUXMODE */
|
||||
|
||||
case FIONBIO:
|
||||
case (long)FIONBIO:
|
||||
val = 0;
|
||||
if (argp && *(u32_t*)argp) {
|
||||
val = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user