summaryrefslogtreecommitdiff
path: root/src/mmo/human_time_diff_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mmo/human_time_diff_test.cpp')
-rw-r--r--src/mmo/human_time_diff_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mmo/human_time_diff_test.cpp b/src/mmo/human_time_diff_test.cpp
index d036537..3ace280 100644
--- a/src/mmo/human_time_diff_test.cpp
+++ b/src/mmo/human_time_diff_test.cpp
@@ -22,6 +22,9 @@
#include "../poison.hpp"
+
+#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
+
// a sequence of [-+]?[0-9]+([ay]|m|[jd]|h|mn|s)
TEST(humantimediff, single)