diff options
Diffstat (limited to 'bin/csh/lex.c')
-rw-r--r-- | bin/csh/lex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/csh/lex.c b/bin/csh/lex.c index bcad8d7bb32..0f2cc2355a0 100644 --- a/bin/csh/lex.c +++ b/bin/csh/lex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.c,v 1.27 2018/09/18 06:56:09 deraadt Exp $ */ +/* $OpenBSD: lex.c,v 1.28 2018/09/19 15:14:35 millert Exp $ */ /* $NetBSD: lex.c,v 1.9 1995/09/27 00:38:46 jtc Exp $ */ /*- @@ -1274,7 +1274,7 @@ top: aret = F_SEEK; if (alvecp) { aret = A_SEEK; - if ((c = *alvecp++) != '\0') + if ((c = *alvecp++) != NULL) return (c); if (alvec && *alvec) { alvecp = *alvec++; @@ -1310,7 +1310,7 @@ top: doneinp = 1; reset(); } - if ((evalp = *evalvec) != '\0') { + if ((evalp = *evalvec) != NULL) { evalvec++; goto top; } |