Fix differing signedness compare
This commit is contained in:
parent
fc8ebe83fc
commit
103e67bbaa
|
@ -693,7 +693,7 @@ static INT32 AddToMasterServer(boolean firstadd)
|
||||||
UINT32 signature, tmp;
|
UINT32 signature, tmp;
|
||||||
const char *insname;
|
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))
|
if (MS_Connect(GetMasterServerIP(), GetMasterServerPort(), 0))
|
||||||
return ConnectionFailedwerrno(errno);
|
return ConnectionFailedwerrno(errno);
|
||||||
|
|
Loading…
Reference in New Issue