I hate signed chars.^W^W^W^W^WCast to unsigned char before using signed
chars as array indices.
This commit is contained in:
parent
2d066a2d83
commit
e71baf2383
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user