summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/hash.h
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2014-03-31 16:33:19 (GMT)
committerJason Evans <jasone@canonware.com>2014-03-31 16:33:19 (GMT)
commit46c0af68bd248b04df75e4f92d5fb804c3d75340 (patch)
tree28a1ac21474d5f3d55812986c4c75a8bb734257b /include/jemalloc/internal/hash.h
parent7709a64c59daf0b1f938be49472fcc499e1bd136 (diff)
parent8a26eaca7f4c95771ecbf096caeeba14fbe1122f (diff)
downloadjemalloc-3.6.0.zip
jemalloc-3.6.0.tar.gz
jemalloc-3.6.0.tar.bz2
Merge branch 'dev'3.6.0
Diffstat (limited to 'include/jemalloc/internal/hash.h')
-rw-r--r--include/jemalloc/internal/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/internal/hash.h b/include/jemalloc/internal/hash.h
index 09b69df..c7183ed 100644
--- a/include/jemalloc/internal/hash.h
+++ b/include/jemalloc/internal/hash.h
@@ -320,7 +320,7 @@ hash_x64_128(const void *key, const int len, const uint32_t seed,
JEMALLOC_INLINE void
hash(const void *key, size_t len, const uint32_t seed, size_t r_hash[2])
{
-#if (LG_SIZEOF_PTR == 3)
+#if (LG_SIZEOF_PTR == 3 && !defined(JEMALLOC_BIG_ENDIAN))
hash_x64_128(key, len, seed, (uint64_t *)r_hash);
#else
uint64_t hashes[2];