diff options
author | 2013-11-26 13:16:18 +0000 | |
---|---|---|
committer | 2013-11-26 13:16:18 +0000 | |
commit | 9596d54da03efb1970383a8fb2db9d5a8f7821dd (patch) | |
tree | 11ec2e6151308e5bcefcec4f4b407661babf7dcc /lib/libc/regex/regcomp.c | |
parent | fix condition after CIRCLEQ -> TAILQ conversion; ok zhuk@ (diff) | |
download | wireguard-openbsd-9596d54da03efb1970383a8fb2db9d5a8f7821dd.tar.xz wireguard-openbsd-9596d54da03efb1970383a8fb2db9d5a8f7821dd.zip |
unsigned char cast for ctype; ok guenther
Diffstat (limited to 'lib/libc/regex/regcomp.c')
-rw-r--r-- | lib/libc/regex/regcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/regex/regcomp.c b/lib/libc/regex/regcomp.c index b8e5853ec34..109b4a21744 100644 --- a/lib/libc/regex/regcomp.c +++ b/lib/libc/regex/regcomp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: regcomp.c,v 1.22 2013/04/17 17:39:29 tedu Exp $ */ +/* $OpenBSD: regcomp.c,v 1.23 2013/11/26 13:16:18 deraadt Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 Henry Spencer. * Copyright (c) 1992, 1993, 1994 @@ -759,7 +759,7 @@ p_b_cclass(struct parse *p, cset *cs) char *u; char c; - while (MORE() && isalpha(PEEK())) + while (MORE() && isalpha((uch)PEEK())) NEXT(); len = p->next - sp; for (cp = cclasses; cp->name != NULL; cp++) |