diff options
Diffstat (limited to 'src/libs/3rdparty/libarchive/archive_write_add_filter_compress.c')
-rw-r--r-- | src/libs/3rdparty/libarchive/archive_write_add_filter_compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/3rdparty/libarchive/archive_write_add_filter_compress.c b/src/libs/3rdparty/libarchive/archive_write_add_filter_compress.c index d404fae7d..3ed269fce 100644 --- a/src/libs/3rdparty/libarchive/archive_write_add_filter_compress.c +++ b/src/libs/3rdparty/libarchive/archive_write_add_filter_compress.c @@ -352,7 +352,7 @@ archive_compressor_compress_write(struct archive_write_filter *f, while (length--) { c = *bp++; state->in_count++; - state->cur_fcode = (c << 16) + state->cur_code; + state->cur_fcode = (c << 16) | state->cur_code; i = ((c << HSHIFT) ^ state->cur_code); /* Xor hashing. */ if (state->hashtab[i] == state->cur_fcode) { |