summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r--src/resources/mapreader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index 6cba9b8f8..3d82d0404 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -137,7 +137,11 @@ int inflateMemory(unsigned char *restrict const in,
strm.next_out = out;
strm.avail_out = bufferSize;
+PRAGMACLANG6GCC(GCC diagnostic push)
+PRAGMACLANG6GCC(GCC diagnostic ignored "-Wold-style-cast")
int ret = inflateInit2(&strm, 15 + 32);
+PRAGMACLANG6GCC(GCC diagnostic pop)
+
if (ret != Z_OK)
return ret;