fix rol typo

This commit is contained in:
kalsprite
2026-08-09 11:00:03 -07:00
parent d6d16b1e58
commit acb8806a96

View File

@@ -284,7 +284,7 @@ void typeid_hash_context_init(TypeidHashContext *hash_ctx) {
u64 rotate_left64(u64 x, u64 k) {
static u64 const n = 64;
u64 s = k & (n-1);
return (x<<s) | (x>>(n-2));
return (x<<s) | (x>>(n-s));
}
void sip_compress(SipHashContext *sip) {