(NULL): Use explicit cast.
authorKarl Heuer <kwzh@gnu.org>
Fri, 26 May 1995 22:35:10 +0000 (22:35 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 26 May 1995 22:35:10 +0000 (22:35 +0000)
regex.c

diff --git a/regex.c b/regex.c
index 5a98c6c..3581b38 100644 (file)
--- a/regex.c
+++ b/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',