mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 01:29:59 -04:00
Add missing parenthesis to fxhash
The fxhash implementation had a missing parenthesis that caused it to diverge from Rust's reference implementation. This commit fixes this.
This commit is contained in:
parent
5f8624df76
commit
bcfa2adaa3
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
static inline size_t
|
||||
fx_add_to_hash(size_t hash, size_t i) {
|
||||
return ISC_ROTATE_LEFT(hash, 5) ^ i * K;
|
||||
return (ISC_ROTATE_LEFT(hash, 5) ^ i) * K;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue