Integer comparison warning
This commit is contained in:
parent
3ffc520a2c
commit
1b46553d43
|
@ -706,7 +706,7 @@ static INT32 AddToMasterServer(boolean firstadd)
|
|||
haven't open a socket, and actually open it!
|
||||
*/
|
||||
/*if (res == ERRSOCKET)*//* wtf? no! */
|
||||
if (socket_fd == ERRSOCKET)
|
||||
if (socket_fd == (SOCKET_TYPE)ERRSOCKET)
|
||||
{
|
||||
if (MS_Connect(GetMasterServerIP(), GetMasterServerPort(), 0))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue