diff options
author | Otmar Ertl <otmar.ertl@gmail.com> | 2018-03-10 20:09:41 +0100 |
---|---|---|
committer | Otmar Ertl <otmar.ertl@gmail.com> | 2018-03-10 20:09:41 +0100 |
commit | 6470b21f59d0c73fac2a08a477ed4ff1770ad3aa (patch) | |
tree | 3f38e0868885a4c808b40fb0ed3ea0b31a253a19 /src | |
parent | 84b281209a653f8afe5b106ab44d8339fd798823 (diff) | |
download | redis-6470b21f59d0c73fac2a08a477ed4ff1770ad3aa.tar.gz |
replaced tab by spaces
Diffstat (limited to 'src')
-rw-r--r-- | src/hyperloglog.c | 8 |
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; |