summaryrefslogtreecommitdiff
path: root/src/resources/imagewriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/imagewriter.cpp')
-rw-r--r--src/resources/imagewriter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/imagewriter.cpp b/src/resources/imagewriter.cpp
index a797e2496..7347b98bf 100644
--- a/src/resources/imagewriter.cpp
+++ b/src/resources/imagewriter.cpp
@@ -25,7 +25,10 @@
#include "utils/checkutils.h"
#include <png.h>
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wshadow")
#include <SDL_video.h>
+#pragma GCC diagnostic pop
#include "debug.h"