]> wimlib.net Git - wimlib/blobdiff - include/wimlib/decompress_common.h
LZX decompression: Cleanup
[wimlib] / include / wimlib / decompress_common.h
index 2b5d4f65672631c7ba698152096cd470da793851..856c64117c6cf432cbdb3be761a0ea2f3433f70a 100644 (file)
@@ -230,7 +230,7 @@ make_huffman_decode_table(u16 decode_table[], unsigned num_syms,
  * This function won't write any data beyond this position.
  */
 static inline void
-lz_copy(u8 *dst, unsigned length, unsigned offset, const u8 *winend)
+lz_copy(u8 *dst, u32 length, u32 offset, const u8 *winend)
 {
        const u8 *src = dst - offset;
 #if defined(__x86_64__) || defined(__i386__)