diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-03-10 22:04:05 +0100 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-03-10 22:04:05 +0100 |
commit | cc1d6b33b1524d52b21a6e9794ee6b0d6a2a9d50 (patch) | |
tree | 717c62b52076b37cb9d4e4efc9f33cf09dea723b /include/hash.h | |
parent | 2832cb643d90ff6bad7a6ba4ff139988f10b171a (diff) | |
download | AFLplusplus-cc1d6b33b1524d52b21a6e9794ee6b0d6a2a9d50.tar.gz |
unified pointer placement
Diffstat (limited to 'include/hash.h')
-rw-r--r-- | include/hash.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/hash.h b/include/hash.h index 5d00f3e5..3751ac33 100644 --- a/include/hash.h +++ b/include/hash.h @@ -34,9 +34,9 @@ #define ROL64(_x, _r) ((((u64)(_x)) << (_r)) | (((u64)(_x)) >> (64 - (_r)))) -static inline u32 hash32(const void* key, u32 len, u32 seed) { +static inline u32 hash32(const void *key, u32 len, u32 seed) { - const u64* data = (u64*)key; + const u64 *data = (u64 *)key; u64 h1 = seed ^ len; len >>= 3; @@ -69,9 +69,9 @@ static inline u32 hash32(const void* key, u32 len, u32 seed) { #define ROL32(_x, _r) ((((u32)(_x)) << (_r)) | (((u32)(_x)) >> (32 - (_r)))) -static inline u32 hash32(const void* key, u32 len, u32 seed) { +static inline u32 hash32(const void *key, u32 len, u32 seed) { - const u32* data = (u32*)key; + const u32 *data = (u32 *)key; u32 h1 = seed ^ len; len >>= 2; |