summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>