mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
hashset.hpp
This commit is contained in:
parent
e9d653d8c5
commit
e24d72290a
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ vt_hash_const_string(const char *key_)
|
|||
uint64_t hash = 0xcbf29ce484222325ull;
|
||||
|
||||
while(*key_)
|
||||
hash = ((const unsigned char)*key_++ ^ hash) * 0x100000001b3ull;
|
||||
hash = (((const unsigned char)*key_++ ^ hash) * 0x100000001b3ull);
|
||||
|
||||
return hash;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue