(at_endline_loc_p): Use 0, not NULL, in ?: for next_next.
[pspp] / regex.c
diff --git a/regex.c b/regex.c
index 3581b38dbd31c25290561428887469e83a63b8ca..2ccabc12e9497402550ce05f8879674ef0f7b488 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?  */