mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00: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…
Reference in New Issue
Block a user