summaryrefslogtreecommitdiff
path: root/src/hyperloglog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hyperloglog.c')
-rw-r--r--src/hyperloglog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hyperloglog.c b/src/hyperloglog.c
index ef33979a7..8ab9d2a30 100644
--- a/src/hyperloglog.c
+++ b/src/hyperloglog.c
@@ -401,11 +401,11 @@ uint64_t MurmurHash64A (const void * key, int len, unsigned int seed) {
uint64_t k;
#if (BYTE_ORDER == LITTLE_ENDIAN)
- #ifdef USE_ALIGNED_ACCESS
- memcpy(&k,data,sizeof(uint64_t));
- #else
+ #ifdef USE_ALIGNED_ACCESS
+ memcpy(&k,data,sizeof(uint64_t));
+ #else
k = *((uint64_t*)data);
- #endif
+ #endif
#else
k = (uint64_t) data[0];
k |= (uint64_t) data[1] << 8;