sockets.c: fixed using unsigned constant 'FIONBIO' in switch on (signed) long

This commit is contained in:
goldsimon 2014-12-08 15:01:18 +01:00
parent ca26fd17a7
commit 1bf2e313f6

View File

@ -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;