summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-10-15 22:08:57 +0000
committerrubidium <rubidium@openttd.org>2010-10-15 22:08:57 +0000
commit5ed77b491924443fe61762860ccda861575d57bb (patch)
treef3f577b739dea8693215259b5c0b184e49055326 /src/network
parent234bee0858b3c135f0827be63e904b8edacdee90 (diff)
downloadopenttd-5ed77b491924443fe61762860ccda861575d57bb.tar.xz
(svn r20939) -Fix: some MSVC warnings
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/tcp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/tcp.cpp b/src/network/core/tcp.cpp
index cdf072cec..77afac131 100644
--- a/src/network/core/tcp.cpp
+++ b/src/network/core/tcp.cpp
@@ -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 */