From 708af27ceb5110e4ee65dc482d3ec8067a4ee725 Mon Sep 17 00:00:00 2001 From: skimo Date: Tue, 5 Jun 2001 20:35:44 +0000 Subject: [PATCH] make regex engine more wide char friendly --- regex/regcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex/regcomp.c b/regex/regcomp.c index 7c278e1c..4b3b188e 100644 --- a/regex/regcomp.c +++ b/regex/regcomp.c @@ -971,7 +971,7 @@ register int ch; if ((p->g->cflags®_ICASE) && isalpha(ch) && othercase(ch) != ch) bothcases(p, ch); else { - EMIT(OCHAR, (unsigned char)ch); + EMIT(OCHAR, (UCHAR_T)ch); /* if (cap[ch] == 0) cap[ch] = p->g->ncategories++; -- 2.11.4.GIT