From c61ac5120ddb5b58693aff42d43cc8e23b7bd0c2 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 8 Mar 2011 12:25:29 +0000 Subject: [PATCH] lib/Support/regcomp.c: Fix cygwin warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127241 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 cd018d5dc5b..46c91a9c497 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++)