From 307c2f51995b3cab2e2e0407d668fe4cfbc0fde9 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 14 Mar 2011 23:06:23 +0000 Subject: For PR9480: --- Merging r127241 into '.': U lib/Support/regcomp.c git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127631 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/regcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Support/regcomp.c b/lib/Support/regcomp.c index cd018d5dc5..46c91a9c49 100644 --- a/lib/Support/regcomp.c +++ b/lib/Support/regcomp.c @@ -780,7 +780,7 @@ p_b_cclass(struct parse *p, cset *cs) const 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++) -- cgit v1.2.3-18-g5258