summaryrefslogtreecommitdiffstats
path: root/include/jemalloc
diff options
context:
space:
mode:
Diffstat (limited to 'include/jemalloc')
-rw-r--r--include/jemalloc/internal/hash.h8
-rw-r--r--include/jemalloc/internal/jemalloc_internal_macros.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/include/jemalloc/internal/hash.h b/include/jemalloc/internal/hash.h
index f2b3a16..a43bbbe 100644
--- a/include/jemalloc/internal/hash.h
+++ b/include/jemalloc/internal/hash.h
@@ -76,9 +76,9 @@ hash_fmix_64(uint64_t k)
{
k ^= k >> 33;
- k *= QU(0xff51afd7ed558ccdULL);
+ k *= KQU(0xff51afd7ed558ccd);
k ^= k >> 33;
- k *= QU(0xc4ceb9fe1a85ec53ULL);
+ k *= KQU(0xc4ceb9fe1a85ec53);
k ^= k >> 33;
return (k);
@@ -247,8 +247,8 @@ hash_x64_128(const void *key, const int len, const uint32_t seed,
uint64_t h1 = seed;
uint64_t h2 = seed;
- const uint64_t c1 = QU(0x87c37b91114253d5ULL);
- const uint64_t c2 = QU(0x4cf5ad432745937fULL);
+ const uint64_t c1 = KQU(0x87c37b91114253d5);
+ const uint64_t c2 = KQU(0x4cf5ad432745937f);
/* body */
{
diff --git a/include/jemalloc/internal/jemalloc_internal_macros.h b/include/jemalloc/internal/jemalloc_internal_macros.h
index 38e2886..a08ba77 100644
--- a/include/jemalloc/internal/jemalloc_internal_macros.h
+++ b/include/jemalloc/internal/jemalloc_internal_macros.h
@@ -44,9 +44,9 @@
#define QI(q) ((int64_t)q)
#define KZU(z) ZU(z##ULL)
-#define KZI(z) ZI(z##ULL)
+#define KZI(z) ZI(z##LL)
#define KQU(q) QU(q##ULL)
-#define KQI(q) QI(q##ULL)
+#define KQI(q) QI(q##LL)
#ifndef __DECONST
# define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var))