X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Flz_hash.h;h=f7618152b9b02377936b37d3280bb49f83ecabe8;hp=7416585a979500d9e9259ea2704689bdf2f554e5;hb=4a20aae0dd8469a352517a0b107416ffa99ccc55;hpb=8618172276fae088f311923a61bbf26c3d4d8941 diff --git a/include/wimlib/lz_hash.h b/include/wimlib/lz_hash.h index 7416585a..f7618152 100644 --- a/include/wimlib/lz_hash.h +++ b/include/wimlib/lz_hash.h @@ -30,7 +30,7 @@ * next-highest @num_bits bits of the product as the hash value, as those have * the most randomness. */ -static inline u32 +static forceinline u32 lz_hash(u32 seq, unsigned num_bits) { return (u32)(seq * 0x1E35A7BD) >> (32 - num_bits);