X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Flz_hash.h;h=f7618152b9b02377936b37d3280bb49f83ecabe8;hb=d2bbd33f82880b553f5a0ea9f7d98a2cfc399542;hp=7416585a979500d9e9259ea2704689bdf2f554e5;hpb=eb3e3b72db23ecaa7789a807afeb9577962653fe;p=wimlib 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);