diff --git a/SuperFastHash.cpp b/SuperFastHash.cpp index 071d0391..3e0d8766 100644 --- a/SuperFastHash.cpp +++ b/SuperFastHash.cpp @@ -30,7 +30,8 @@ FORCE_INLINE uint16_t get16bits ( const void * p ) } // objsize: 0-d2: 210 -uint32_t SuperFastHash (const char * data, int len, uint32_t hash) { +uint32_t SuperFastHash (const char * data_, int len, uint32_t hash) { + const uint8_t *data(reinterpret_cast(data_)); uint32_t tmp; int rem;