aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/include/stddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/include/stddef.h')
-rw-r--r--runtime/include/stddef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/include/stddef.h b/runtime/include/stddef.h
index 6056db62..5a66215a 100644
--- a/runtime/include/stddef.h
+++ b/runtime/include/stddef.h
@@ -108,7 +108,7 @@ typedef signed int wchar_t;
#if defined(_STDDEF_H) || defined(__need_NULL)
#ifndef NULL
-#define NULL 0
+#define NULL ((void *) 0)
#endif
#undef __need_NULL
#endif