mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 14:39:37 +00:00
Use UCHAR_MAX consistently.
This commit is contained in:
parent
9ac104e443
commit
03b59f2038
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62670
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user