From 5d7c5eed08796384e29fb20ecd03b3c29853e308 Mon Sep 17 00:00:00 2001 From: dcs Date: Thu, 6 Jul 2000 05:19:29 +0000 Subject: Use UCHAR_MAX consistently. --- lib/libc/regex/regcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/regex/regcomp.c') diff --git a/lib/libc/regex/regcomp.c b/lib/libc/regex/regcomp.c index fc50924..9d18878 100644 --- a/lib/libc/regex/regcomp.c +++ b/lib/libc/regex/regcomp.c @@ -1949,7 +1949,7 @@ struct re_guts *g; /* If the character does not exist in the pattern, the jump * is equal to the number of characters in the pattern. */ - for (ch = 0; ch < 256; ch++) + for (ch = 0; ch < (UCHAR_MAX+1); ch++) g->charjump[ch] = g->mlen; /* If the character does exist, compute the jump that would -- cgit v1.1