From: Sfan5 Date: Tue, 12 Nov 2013 14:18:20 +0000 (+0100) Subject: Fix compiling with 32bit MinGW X-Git-Tag: 0.4.8~49 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5094a39f052fff2df304daf2be02c23603906661;p=oweals%2Fminetest.git Fix compiling with 32bit MinGW --- 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);