summaryrefslogtreecommitdiff
path: root/libc/stdio2/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio2/stdio.h')
-rw-r--r--libc/stdio2/stdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio2/stdio.h b/libc/stdio2/stdio.h
index 98ca38a..fd10923 100644
--- a/libc/stdio2/stdio.h
+++ b/libc/stdio2/stdio.h
@@ -56,7 +56,7 @@ struct __stdio_file {
#define EOF (-1)
#ifndef NULL
-#define NULL (0)
+#define NULL ((void*)0)
#endif
typedef struct __stdio_file FILE;