[quake3-commits] r2257 - trunk/code/qcommon
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Jun 18 12:05:47 EDT 2012
Author: ztm
Date: 2012-06-18 12:05:47 -0400 (Mon, 18 Jun 2012)
New Revision: 2257
Modified:
trunk/code/qcommon/net_ip.c
Log:
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.
Modified: trunk/code/qcommon/net_ip.c
===================================================================
--- trunk/code/qcommon/net_ip.c 2012-06-18 16:03:06 UTC (rev 2256)
+++ trunk/code/qcommon/net_ip.c 2012-06-18 16:05:47 UTC (rev 2257)
@@ -1672,7 +1672,7 @@
{
FD_SET(ip6_socket, &fdr);
- if(ip6_socket > highestfd)
+ if((int)ip6_socket > highestfd)
highestfd = ip6_socket;
}
More information about the quake3-commits
mailing list