diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-11 19:18:36 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-11 19:18:36 +0000 |
commit | 9ec7d60cab46bb01ba225c15571fa497f56d8017 (patch) | |
tree | 4ee3988a5f8cc95b72ffae3e118ed6bad6ed66a9 /utils/murmur_hash.h | |
parent | bfce60443b9a34ce6e6657ff11c34a3126de0fb4 (diff) |
64 bit int constant
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@527 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'utils/murmur_hash.h')
-rwxr-xr-x | utils/murmur_hash.h | 2 |
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); |