1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 09:29:10 +00:00

(svn r20939) -Fix: some MSVC warnings

This commit is contained in:
rubidium
2010-10-15 22:08:57 +00:00
parent 234bee0858
commit 5ed77b4919
2 changed files with 2 additions and 2 deletions

View File

@@ -238,7 +238,7 @@ bool NetworkTCPSocketHandler::CanSendReceive()
#endif
this->writable = !!FD_ISSET(this->sock, &write_fd);
return FD_ISSET(this->sock, &read_fd);
return FD_ISSET(this->sock, &read_fd) != 0;
}
#endif /* ENABLE_NETWORK */