From a5a7226885718e701665a7a5eb2528dcd2506f0a Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 16 Jan 2023 12:09:09 +0000 Subject: [PATCH] Remove `auto_cast` --- core/hash/xxhash/xxhash_3.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hash/xxhash/xxhash_3.odin b/core/hash/xxhash/xxhash_3.odin index 5bd5537b1..fa50075f9 100644 --- a/core/hash/xxhash/xxhash_3.odin +++ b/core/hash/xxhash/xxhash_3.odin @@ -118,7 +118,7 @@ XXH_mul_64_to_128_fold_64 :: #force_inline proc(lhs, rhs: xxh_u64) -> (res: xxh_ } @(optimization_mode="speed") -XXH_xorshift_64 :: #force_inline proc(v: xxh_u64, auto_cast shift: uint) -> (res: xxh_u64) { +XXH_xorshift_64 :: #force_inline proc(v: xxh_u64, #any_int shift: uint) -> (res: xxh_u64) { return v ~ (v >> shift) }