mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 14:12:36 +00:00
UL->ULL
This commit is contained in:
parent
a301796186
commit
7833efd6e1
1 changed files with 1 additions and 1 deletions
2
util.c
2
util.c
|
@ -534,7 +534,7 @@ typedef struct hash_node_t {
|
|||
*/
|
||||
#ifdef __x86_64__
|
||||
GMQCC_INLINE uint32_t util_hthashfunc(hash_table_t *ht, const char *key, size_t seed) {
|
||||
const uint64_t mix = 0xC6A4A7935BD1E995UL;
|
||||
const uint64_t mix = 0xC6A4A7935BD1E995ULL;
|
||||
const int rot = 47;
|
||||
size_t size = strlen(key);
|
||||
uint64_t hash = seed ^ (size - mix);
|
||||
|
|
Loading…
Reference in a new issue