From e34b464288d8ff2ffb9d7b854101a93dad4efe4c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 1 May 2016 01:07:04 +0300 Subject: Fix another one old style cast warning in sdltcpnet. --- src/net/sdltcpnet.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/sdltcpnet.cpp') 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) -- cgit v1.2.3-70-g09d2