diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-01 01:07:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-01 01:07:04 +0300 |
commit | e34b464288d8ff2ffb9d7b854101a93dad4efe4c (patch) | |
tree | 18e4c27f88bc44132ee3a643e7e9ae5ac79e8e30 /src/net/sdltcpnet.cpp | |
parent | b0db328a5ea1cbf7137d65e4604cc70f4225f40f (diff) | |
download | mv-e34b464288d8ff2ffb9d7b854101a93dad4efe4c.tar.gz mv-e34b464288d8ff2ffb9d7b854101a93dad4efe4c.tar.bz2 mv-e34b464288d8ff2ffb9d7b854101a93dad4efe4c.tar.xz mv-e34b464288d8ff2ffb9d7b854101a93dad4efe4c.zip |
Fix another one old style cast warning in sdltcpnet.
Diffstat (limited to 'src/net/sdltcpnet.cpp')
-rw-r--r-- | src/net/sdltcpnet.cpp | 3 |
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) |