(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 5a98c6c21aa118201fff9200b76b3f2c7a795d31..3581b38dbd31c25290561428887469e83a63b8ca 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',