summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-01 01:07:04 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-01 01:07:04 +0300
commite34b464288d8ff2ffb9d7b854101a93dad4efe4c (patch)
tree18e4c27f88bc44132ee3a643e7e9ae5ac79e8e30
parentb0db328a5ea1cbf7137d65e4604cc70f4225f40f (diff)
downloadplus-e34b464288d8ff2ffb9d7b854101a93dad4efe4c.tar.gz
plus-e34b464288d8ff2ffb9d7b854101a93dad4efe4c.tar.bz2
plus-e34b464288d8ff2ffb9d7b854101a93dad4efe4c.tar.xz
plus-e34b464288d8ff2ffb9d7b854101a93dad4efe4c.zip
Fix another one old style cast warning in sdltcpnet.
-rw-r--r--src/net/sdltcpnet.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/sdltcpnet.cpp b/src/net/sdltcpnet.cpp
index 3d6ee5d7d..4496ce999 100644
--- a/src/net/sdltcpnet.cpp
+++ b/src/net/sdltcpnet.cpp
@@ -145,7 +145,10 @@ int TcpNet::addSocket(const TcpNet::SocketSet set, const TcpNet::Socket sock)
int TcpNet::socketReady(const TcpNet::Socket sock)
{
+PRAGMACLANG6(GCC diagnostic push)
+PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast")
return SDLNet_SocketReady(sock);
+PRAGMACLANG6(GCC diagnostic pop)
}
int TcpNet::checkSockets(const TcpNet::SocketSet set, const Uint32 timeout)