(at_endline_loc_p): Use 0, not NULL, in ?: for next_next.
authorKarl Heuer <kwzh@gnu.org>
Mon, 29 May 1995 06:15:30 +0000 (06:15 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 29 May 1995 06:15:30 +0000 (06:15 +0000)
regex.c

diff --git a/regex.c b/regex.c
index 3581b38..2ccabc1 100644 (file)
--- a/regex.c
+++ b/regex.c
@@ -2756,7 +2756,7 @@ at_endline_loc_p (p, pend, syntax)
 {
   const char *next = p;
   boolean next_backslash = *next == '\\';
-  const char *next_next = p + 1 < pend ? p + 1 : NULL;
+  const char *next_next = p + 1 < pend ? p + 1 : 0;
   
   return
        /* Before a subexpression?  */