diff options
| -rw-r--r-- | lib/libc/regex/regcomp.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/regex/regcomp.c b/lib/libc/regex/regcomp.c index 30d1b01f9cff6..e943374c9c481 100644 --- a/lib/libc/regex/regcomp.c +++ b/lib/libc/regex/regcomp.c @@ -1958,7 +1958,7 @@ struct re_guts *g;  	 * is the first one that would be matched).  	 */  	for (mindex = 0; mindex < g->mlen; mindex++) -		g->charjump[g->must[mindex]] = g->mlen - mindex - 1; +		g->charjump[(unsigned char)g->must[mindex]] = g->mlen - mindex - 1;  }  /*  | 
