Use UCHAR_MAX consistently.

This commit is contained in:
Daniel C. Sobral 2000-07-06 05:19:29 +00:00
parent 9ac104e443
commit 03b59f2038
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62670

View File

@ -1949,7 +1949,7 @@ struct re_guts *g;
/* If the character does not exist in the pattern, the jump /* If the character does not exist in the pattern, the jump
* is equal to the number of characters in the pattern. * 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; g->charjump[ch] = g->mlen;
/* If the character does exist, compute the jump that would /* If the character does exist, compute the jump that would