summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-11 19:18:36 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-11 19:18:36 +0000
commit6f39f1f138d2d3fc92e1d1a5249a561ea5308b0f (patch)
tree17b5e899fe1f5a4cfff51d461845b911751e6e44
parent549a2bf240bc968e414b668b938db475b232cf91 (diff)
64 bit int constant
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@527 ec762483-ff6d-05da-a07a-a48fb63a330f
-rwxr-xr-xutils/murmur_hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/murmur_hash.h b/utils/murmur_hash.h
index 8dbd7807..6063d524 100755
--- a/utils/murmur_hash.h
+++ b/utils/murmur_hash.h
@@ -15,7 +15,7 @@ static const uint32_t DEFAULT_SEED=2654435769U;
inline uint64_t MurmurHash64( const void * key, int len, unsigned int seed=DEFAULT_SEED )
{
- const uint64_t m = 0xc6a4a7935bd1e995;
+ const uint64_t m = 0xc6a4a7935bd1e995ULL;
const int r = 47;
uint64_t h = seed ^ (len * m);