Fix compiling with 32bit MinGW

This commit is contained in:
Sfan5 2013-11-12 15:18:20 +01:00
parent a935d81053
commit 5094a39f05
1 changed files with 1 additions and 1 deletions

View File

@ -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);