summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-19 20:26:57 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-19 20:26:57 +0300
commitaf766401288bfb65d57c86d83ab74e8aee5c30c7 (patch)
tree71ffb2e535a61acc31e12ff697e3b33aa74bf613 /src/utils
parent5faa6985dae4439bdd041aa9772ee0cd6758951a (diff)
downloadplus-af766401288bfb65d57c86d83ab74e8aee5c30c7.tar.gz
plus-af766401288bfb65d57c86d83ab74e8aee5c30c7.tar.bz2
plus-af766401288bfb65d57c86d83ab74e8aee5c30c7.tar.xz
plus-af766401288bfb65d57c86d83ab74e8aee5c30c7.zip
Fix compilation warning in SDL in dumplibs.cpp
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/dumplibs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/dumplibs.cpp b/src/utils/dumplibs.cpp
index f60ba7949..46ee768e3 100644
--- a/src/utils/dumplibs.cpp
+++ b/src/utils/dumplibs.cpp
@@ -25,7 +25,10 @@
#include <png.h>
#include <SDL.h>
#include <SDL_image.h>
+PRAGMACLANG6(GCC diagnostic push)
+PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast")
#include <SDL_net.h>
+PRAGMACLANG6(GCC diagnostic pop)
#include <SDL_ttf.h>
#include <zlib.h>