summaryrefslogtreecommitdiff
path: root/runtime/gc/allocator/dlmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/gc/allocator/dlmalloc.h')
-rw-r--r--runtime/gc/allocator/dlmalloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/gc/allocator/dlmalloc.h b/runtime/gc/allocator/dlmalloc.h
index 29b96ee96c..b12691ad0e 100644
--- a/runtime/gc/allocator/dlmalloc.h
+++ b/runtime/gc/allocator/dlmalloc.h
@@ -32,6 +32,7 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wredundant-decls"
+#pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic"
#include "../../external/dlmalloc/malloc.h"
#pragma GCC diagnostic pop