X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Flzx_common.c;h=1baeebe7469ed2fb585d53e7c8dd3e761bb1faa3;hb=56f6607d5ecb59ab50f97c8b99f7fc92b9c67a39;hp=3cc6981b186926ebef22bd63633153a6eb80a217;hpb=f18b7fc3361c4daac0ddd104af65a8eff8466fec;p=wimlib diff --git a/src/lzx_common.c b/src/lzx_common.c index 3cc6981b..1baeebe7 100644 --- a/src/lzx_common.c +++ b/src/lzx_common.c @@ -57,7 +57,7 @@ const u32 lzx_offset_slot_base[LZX_MAX_OFFSET_SLOTS + 1] = { /* Mapping: offset slot => how many extra bits must be read and added to the * corresponding offset slot base to decode the match offset. */ -const u8 lzx_extra_offset_bits[LZX_MAX_OFFSET_SLOTS + 1] = { +const u8 lzx_extra_offset_bits[LZX_MAX_OFFSET_SLOTS] = { 0 , 0 , 0 , 0 , 1 , 1 , 2 , 2 , 3 , 3 , 4 , 4 , 5 , 5 , 6 , @@ -68,7 +68,6 @@ const u8 lzx_extra_offset_bits[LZX_MAX_OFFSET_SLOTS + 1] = { 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17 }; /* Round the specified buffer size up to the next valid LZX window size, and