net_udp.c FIONREAD fix from Ozkan Sezer.

net_udp.c: Fixed FIONREAD ioctl to take an int* argument instead of an
unsigned long*.
This commit is contained in:
Bill Currie 2011-12-08 21:50:55 +09:00
parent 9e3db08fdd
commit 1c82956dd7

View file

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