mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Call sliding_get_sb directly in sliding_next_tag
This commit is contained in:
parent
70db73b955
commit
cf35575c72
4
rzip.c
4
rzip.c
|
|
@ -437,9 +437,9 @@ static void sliding_next_tag(rzip_control *control, struct rzip_state *st, i64 p
|
||||||
{
|
{
|
||||||
uchar *u;
|
uchar *u;
|
||||||
|
|
||||||
u = control->get_sb(control, p - 1);
|
u = sliding_get_sb(control, p - 1);
|
||||||
*t ^= st->hash_index[*u];
|
*t ^= st->hash_index[*u];
|
||||||
u = control->get_sb(control, p + MINIMUM_MATCH - 1);
|
u = sliding_get_sb(control, p + MINIMUM_MATCH - 1);
|
||||||
*t ^= st->hash_index[*u];
|
*t ^= st->hash_index[*u];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue