Skip to content
Snippets Groups Projects
Commit 3ee34f75 authored by Sryder's avatar Sryder
Browse files

Integer comparison warning

parent 6bee5435
No related branches found
No related tags found
No related merge requests found
......@@ -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))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment