From: spog Date: Sun, 14 May 2006 20:32:33 +0000 (+0000) Subject: fixed gcc compile error X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=401b56e8bbf6b4caab0311c727764f08aee9e142;p=xonotic%2Fnetradiant.git fixed gcc compile error git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@70 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- diff --git a/radiant/sockets.cpp b/radiant/sockets.cpp index 6f4298c9..e08680be 100644 --- a/radiant/sockets.cpp +++ b/radiant/sockets.cpp @@ -34,7 +34,7 @@ int Net_Wait(socket_t *sock, long sec, long usec) // from select man page: // n is the highest-numbered descriptor in any of the three sets, plus 1 // (no use on windows) - switch( select( sock->socket + 1, &readfds, NULL, NULL, &tout ) ) + switch( select( sock->socket + 1, &readfds, 0, 0, &tout ) ) { case SOCKET_ERROR: return -1;