X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fxpress_compress.c;h=e192c870a0bdd3cb82d22d85db3f999d7b8824d6;hb=ae44786dcd57c6668233c51fa1c6e3a60fd459cd;hp=379388cd3602b0c1fa2d4b5ab48358100cc78a04;hpb=7976ce465b28b86b4cee954a8116aae435058186;p=wimlib diff --git a/src/xpress_compress.c b/src/xpress_compress.c index 379388cd..e192c870 100644 --- a/src/xpress_compress.c +++ b/src/xpress_compress.c @@ -18,7 +18,7 @@ * details. * * You should have received a copy of the GNU Lesser General Public License - * along with this file; if not, see http://www.gnu.org/licenses/. + * along with this file; if not, see https://www.gnu.org/licenses/. */ #ifdef HAVE_CONFIG_H @@ -961,12 +961,12 @@ xpress_find_matches(struct xpress_compressor * restrict c, break; --best_len; do { - bt_matchfinder_skip_position(&c->bt_mf, - in_begin, - in_next - in_begin, - nice_len, - c->max_search_depth, - next_hashes); + bt_matchfinder_skip_byte(&c->bt_mf, + in_begin, + in_next - in_begin, + nice_len, + c->max_search_depth, + next_hashes); cache_ptr->length = 0; cache_ptr->offset = *in_next++; cache_ptr++;