summaryrefslogtreecommitdiff
path: root/src/util/numeric.cpp
diff options
context:
space:
mode:
authorSfan5 <sfan5@live.de>2013-11-12 15:18:20 +0100
committerSfan5 <sfan5@live.de>2013-11-12 15:18:20 +0100
commit5094a39f052fff2df304daf2be02c23603906661 (patch)
tree221996868345076f8e82b40f448e01ac25335d9f /src/util/numeric.cpp
parenta935d810537853eaeda702b7dc341df1e9de1fd1 (diff)
downloadminetest-5094a39f052fff2df304daf2be02c23603906661.tar.gz
minetest-5094a39f052fff2df304daf2be02c23603906661.tar.bz2
minetest-5094a39f052fff2df304daf2be02c23603906661.zip
Fix compiling with 32bit MinGW
Diffstat (limited to 'src/util/numeric.cpp')
-rw-r--r--src/util/numeric.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/numeric.cpp b/src/util/numeric.cpp
index 0426656a5..6173515ee 100644
--- 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 = 0xc6a4a7935bd1e995ULL;
const int r = 47;
u64 h = seed ^ (len * m);