summaryrefslogtreecommitdiff
path: root/src/regex.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-05-29 06:15:30 +0000
committerKarl Heuer <kwzh@gnu.org>1995-05-29 06:15:30 +0000
commite556a0ed560dcc964bce549409124a764efcf3bf (patch)
tree212e8ae41a67fa0fe19c27bf964178efcf67f011 /src/regex.c
parentd9ecca454e055c3e2cf4d4b92ef1fb0beaf8f65a (diff)
downloademacs-e556a0ed560dcc964bce549409124a764efcf3bf.tar.gz
(at_endline_loc_p): Use 0, not NULL, in ?: for next_next.
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c2
1 files changed, 1 insertions, 1 deletions
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? */