summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-01 00:15:43 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-01 00:15:43 +0300
commit05dc8b4ff061d0d21e2012904875f58611471071 (patch)
tree7d9964b2ea67d618f31c86b20ae00cf001499d7b /src/net
parentb5968a38f856726b9f8ebbc896b16e924abe5698 (diff)
downloadmv-05dc8b4ff061d0d21e2012904875f58611471071.tar.gz
mv-05dc8b4ff061d0d21e2012904875f58611471071.tar.bz2
mv-05dc8b4ff061d0d21e2012904875f58611471071.tar.xz
mv-05dc8b4ff061d0d21e2012904875f58611471071.zip
Disable warning -Wold-style-cast in SDL_net.h.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/sdltcpnet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/sdltcpnet.h b/src/net/sdltcpnet.h
index 7d0a491c8..c96baf37a 100644
--- a/src/net/sdltcpnet.h
+++ b/src/net/sdltcpnet.h
@@ -29,7 +29,11 @@
#ifdef USE_SDL2
#pragma GCC diagnostic pop
#endif
+
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <SDL_net.h>
+#pragma GCC diagnostic pop
#include "localconsts.h"