Fix differing signedness compare

This commit is contained in:
James R 2019-04-30 13:03:13 -07:00
parent fc8ebe83fc
commit 103e67bbaa

View file

@ -693,7 +693,7 @@ static INT32 AddToMasterServer(boolean firstadd)
UINT32 signature, tmp;
const char *insname;
if (socket_fd == ERRSOCKET)/* Woah, our socket was closed! */
if (socket_fd == (SOCKET_TYPE)ERRSOCKET)/* Woah, our socket was closed! */
{
if (MS_Connect(GetMasterServerIP(), GetMasterServerPort(), 0))
return ConnectionFailedwerrno(errno);