summaryrefslogtreecommitdiff
path: root/src/net/ip_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ip_test.cpp')
-rw-r--r--src/net/ip_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ip_test.cpp b/src/net/ip_test.cpp
index 3c4d2ef..9058804 100644
--- a/src/net/ip_test.cpp
+++ b/src/net/ip_test.cpp
@@ -27,6 +27,9 @@
#include "../poison.hpp"
+
+#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
+
#define CB(X) (std::integral_constant<bool, (X)>::value)
TEST(ip4addr, cmp)
{