summaryrefslogtreecommitdiff
path: root/lib/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/regex.c')
-rw-r--r--lib/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/regex.c b/lib/regex.c
index 354aba807..abe92ac8b 100644
--- a/lib/regex.c
+++ b/lib/regex.c
@@ -183,7 +183,7 @@ init_syntax_once ()
#define ISXDIGIT(c) (ISASCII (c) && isxdigit (c))
#ifndef NULL
-#define NULL 0
+#define NULL (void *)0
#endif
/* We remove any previous definition of `SIGN_EXTEND_CHAR',