From 5bb52971123d1576e240af685af9264f3990f3b0 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 29 May 1995 06:15:30 +0000 Subject: [PATCH] (at_endline_loc_p): Use 0, not NULL, in ?: for next_next. --- src/regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regex.c b/src/regex.c index 3581b38dbd3..2ccabc12e94 100644 --- a/src/regex.c +++ b/src/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? */ -- 2.39.2