Integer comparison warning

This commit is contained in:
Sryder 2019-06-19 21:54:11 +01:00
parent 3ffc520a2c
commit 1b46553d43
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{