mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
9868274b74
commit
f943749dcd
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue