diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-19 20:26:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-19 20:26:57 +0300 |
commit | af766401288bfb65d57c86d83ab74e8aee5c30c7 (patch) | |
tree | 71ffb2e535a61acc31e12ff697e3b33aa74bf613 | |
parent | 5faa6985dae4439bdd041aa9772ee0cd6758951a (diff) | |
download | manaverse-af766401288bfb65d57c86d83ab74e8aee5c30c7.tar.gz manaverse-af766401288bfb65d57c86d83ab74e8aee5c30c7.tar.bz2 manaverse-af766401288bfb65d57c86d83ab74e8aee5c30c7.tar.xz manaverse-af766401288bfb65d57c86d83ab74e8aee5c30c7.zip |
Fix compilation warning in SDL in dumplibs.cpp
-rw-r--r-- | src/utils/dumplibs.cpp | 3 |
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> |