diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c index 123b8557..262ae7c3 100644 --- a/code/qcommon/net_ip.c +++ b/code/qcommon/net_ip.c @@ -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; }