aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-03-14 23:06:23 +0000
committerBill Wendling <isanbard@gmail.com>2011-03-14 23:06:23 +0000
commit307c2f51995b3cab2e2e0407d668fe4cfbc0fde9 (patch)
treeb14328f8995198c27293e094aa2a3ab15d883f8d
parentfc3b6f3a4d54e4243f909cc0caafdc13b94fed93 (diff)
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
-rw-r--r--lib/Support/regcomp.c2
1 files changed, 1 insertions, 1 deletions
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++)