From 1c82956dd7bcb93ac6c24cc07897bae6a1fa2b77 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 8 Dec 2011 21:50:55 +0900 Subject: [PATCH] net_udp.c FIONREAD fix from Ozkan Sezer. net_udp.c: Fixed FIONREAD ioctl to take an int* argument instead of an unsigned long*. --- libs/net/nm/net_udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/net/nm/net_udp.c b/libs/net/nm/net_udp.c index ec62320a0..fecc2036e 100644 --- a/libs/net/nm/net_udp.c +++ b/libs/net/nm/net_udp.c @@ -417,7 +417,7 @@ UDP_Connect (int socket, netadr_t *addr) int UDP_CheckNewConnections (void) { - unsigned long available; + int available; AF_address_t from; socklen_t fromlen = sizeof (from); char buff[1];