mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 11:33:44 +01:00
Fix compiling with 32bit MinGW
This commit is contained in:
parent
a935d81053
commit
5094a39f05
@ -143,7 +143,7 @@ int myrand_range(int min, int max)
|
|||||||
// 64-bit unaligned version of MurmurHash
|
// 64-bit unaligned version of MurmurHash
|
||||||
u64 murmur_hash_64_ua(const void *key, int len, unsigned int seed)
|
u64 murmur_hash_64_ua(const void *key, int len, unsigned int seed)
|
||||||
{
|
{
|
||||||
const u64 m = 0xc6a4a7935bd1e995;
|
const u64 m = 0xc6a4a7935bd1e995ULL;
|
||||||
const int r = 47;
|
const int r = 47;
|
||||||
u64 h = seed ^ (len * m);
|
u64 h = seed ^ (len * m);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user