Skip to content

Commit

Permalink
Fix NET_Sleepv() crash on Win64.
Browse files Browse the repository at this point in the history
  • Loading branch information
skullernet authored and Paril committed Dec 10, 2021
1 parent 9b8d8ab commit 89e1fb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/ac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1186,9 +1186,9 @@ static void AC_Spin(void)
// sleep on stdin and AC server socket
NET_Sleepv(100,
#ifndef _WIN32
STDIN_FILENO,
(qsocket_t)STDIN_FILENO,
#endif
ac.stream.socket, -1);
ac.stream.socket, (qsocket_t)-1);
Sys_RunConsole();
AC_Run();
}
Expand Down

0 comments on commit 89e1fb7

Please sign in to comment.