Use LLU suffix for all 64-bit constants.

Add the LLU suffix for all 0x... 64-bit constants.

Reported by Jakob Blomer.
This commit is contained in:
Jason Evans
2011-05-22 10:49:44 -07:00
parent 408ade6545
commit f0b22cf932
3 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ uint64_t hash(const void *key, size_t len, uint64_t seed);
JEMALLOC_INLINE uint64_t
hash(const void *key, size_t len, uint64_t seed)
{
const uint64_t m = 0xc6a4a7935bd1e995;
const uint64_t m = 0xc6a4a7935bd1e995LLU;
const int r = 47;
uint64_t h = seed ^ (len * m);
const uint64_t *data = (const uint64_t *)key;