less problematic definitions
diff --git a/include/hash.h b/include/hash.h
index 9d42e44..9319ab9 100644
--- a/include/hash.h
+++ b/include/hash.h
@@ -41,7 +41,7 @@
 
     #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;
diff --git a/src/afl-performance.c b/src/afl-performance.c
index b3d30cb..0832dc3 100644
--- a/src/afl-performance.c
+++ b/src/afl-performance.c
@@ -141,7 +141,11 @@
 /* we switch from afl's murmur implementation to xxh3 as it is 30% faster -
    and get 64 bit hashes instead of just 32 bit. Less collisions! :-) */
 
-u32 inline hash32(void *key, u32 len, u32 seed) {
+#ifdef _DEBUG
+u32 hash32(u8 *key, u32 len, u32 seed) {
+#else
+u32 inline hash32(u8 *key, u32 len, u32 seed) {
+#endif
 
   return (u32)XXH64(key, len, seed);