summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/virtfs/zipreader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fs/virtfs/zipreader.cpp b/src/fs/virtfs/zipreader.cpp
index 319528277..c97b2ec61 100644
--- a/src/fs/virtfs/zipreader.cpp
+++ b/src/fs/virtfs/zipreader.cpp
@@ -297,7 +297,11 @@ namespace ZipReader
strm.next_out = out;
strm.avail_out = CAST_U32(outSize);
+PRAGMACLANG6GCC(GCC diagnostic push)
+PRAGMACLANG6GCC(GCC diagnostic ignored "-Wold-style-cast")
int ret = inflateInit2(&strm, -MAX_WBITS);
+PRAGMACLANG6GCC(GCC diagnostic pop)
+
if (ret != Z_OK)
{
reportZlibError(header->zipEntry->root, ret);