projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a935d81
)
Fix compiling with 32bit MinGW
author
Sfan5
<sfan5@live.de>
Tue, 12 Nov 2013 14:18:20 +0000
(15:18 +0100)
committer
Sfan5
<sfan5@live.de>
Tue, 12 Nov 2013 14:18:20 +0000
(15:18 +0100)
src/util/numeric.cpp
patch
|
blob
|
history
diff --git
a/src/util/numeric.cpp
b/src/util/numeric.cpp
index 0426656a5a93393f765f6584abfea8f5e60491eb..6173515ee52489d45a7933217176233acb395c14 100644
(file)
--- a/
src/util/numeric.cpp
+++ b/
src/util/numeric.cpp
@@
-143,7
+143,7
@@
int myrand_range(int min, int max)
// 64-bit unaligned version of MurmurHash
u64 murmur_hash_64_ua(const void *key, int len, unsigned int seed)
{
- const u64 m = 0xc6a4a7935bd1e995;
+ const u64 m = 0xc6a4a7935bd1e995
ULL
;
const int r = 47;
u64 h = seed ^ (len * m);