I hate signed chars.^W^W^W^W^WCast to unsigned char before using signed

chars as array indices.
This commit is contained in:
dcs 2000-07-06 06:37:30 +00:00
parent 2d066a2d83
commit e71baf2383

View File

@ -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;
}
/*