X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Flzx.h;h=50d80f620de6333510004947cefc2c42eb77c9a7;hp=7104dc14ea91389ca3aff9385ae6dccf59788d4a;hb=b7071062542143113ad654d89ee6b0603b23b524;hpb=a20052d2eaf44eb0466972826f8f9e0c3bcb92d2 diff --git a/include/wimlib/lzx.h b/include/wimlib/lzx.h index 7104dc14..50d80f62 100644 --- a/include/wimlib/lzx.h +++ b/include/wimlib/lzx.h @@ -122,7 +122,7 @@ extern const u32 lzx_position_base[LZX_MAX_POSITION_SLOTS]; * the formatted offset without actually looking at the array. */ static inline unsigned -lzx_get_position_slot_raw(unsigned formatted_offset) +lzx_get_position_slot_raw(u32 formatted_offset) { if (formatted_offset >= 196608) { return (formatted_offset >> 17) + 34;