mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 13:40:56 +00:00
fix IPv6-only operation of Windows binaries
the SOCKET type is unsigned on Windows, and should be casted to an int before comparing with the highestfd variable (note: ``int highestfd = -1;'') From /dev/humancontroller.
This commit is contained in:
parent
c16338cfa9
commit
6ff3b03376
1 changed files with 1 additions and 1 deletions
|
@ -1672,7 +1672,7 @@ void NET_Sleep(int msec)
|
|||
{
|
||||
FD_SET(ip6_socket, &fdr);
|
||||
|
||||
if(ip6_socket > highestfd)
|
||||
if((int)ip6_socket > highestfd)
|
||||
highestfd = ip6_socket;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue