mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-10 14:41:54 +00:00
fixed gcc compile error
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@70 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
b13f3034eb
commit
520f83054e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue