diff options
author | van Hauser <vh@thc.org> | 2020-06-28 23:50:25 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-06-28 23:50:25 +0200 |
commit | 6d0f086d9cb1b8eedbeb4c9654f9e44870460e8d (patch) | |
tree | 8409f4c7b85575e45465dcd85b40f4d2166231f7 /include/hash.h | |
parent | c25a602a0370f484e32adbf186290d2504cf3f12 (diff) | |
download | afl++-6d0f086d9cb1b8eedbeb4c9654f9e44870460e8d.tar.gz |
less problematic definitions
Diffstat (limited to 'include/hash.h')
-rw-r--r-- | include/hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hash.h b/include/hash.h index 9d42e44b..9319ab95 100644 --- a/include/hash.h +++ b/include/hash.h @@ -41,7 +41,7 @@ The following code is disabled because xxh3 is 30% faster #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(u8 *key, u32 len, u32 seed) { const u64 *data = (u64 *)key; u64 h1 = seed ^ len; |