aboutsummaryrefslogtreecommitdiffstats
path: root/common/pragmadefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/pragmadefs.h')
-rw-r--r--common/pragmadefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/pragmadefs.h b/common/pragmadefs.h
index 1d0af066..9f0a711f 100644
--- a/common/pragmadefs.h
+++ b/common/pragmadefs.h
@@ -9,7 +9,7 @@
#else
#if defined(__GNUC__) || defined(__clang__)
#define DIAGNOSTIC_PUSH _Pragma("GCC diagnostic push")
-#define DIAGNOSTIC_POP _Pragma("GCC diagnostic push")
+#define DIAGNOSTIC_POP _Pragma("GCC diagnostic pop")
#else
#define DIAGNOSTIC_PUSH
#define DIAGNOSTIC_POP