mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-04-23 02:38:15 +00:00
Integer comparison warning
This commit is contained in:
parent
3ffc520a2c
commit
1b46553d43
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue