summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/sdltcpnet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/sdltcpnet.cpp b/src/net/sdltcpnet.cpp
index 4496ce999..bea2d0e11 100644
--- a/src/net/sdltcpnet.cpp
+++ b/src/net/sdltcpnet.cpp
@@ -145,10 +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")
+ PRAGMACLANG6(GCC diagnostic push)
+ PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast")
return SDLNet_SocketReady(sock);
-PRAGMACLANG6(GCC diagnostic pop)
+ PRAGMACLANG6(GCC diagnostic pop)
}
int TcpNet::checkSockets(const TcpNet::SocketSet set, const Uint32 timeout)