diff options
Diffstat (limited to 'lib/hash.h')
-rw-r--r-- | lib/hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -237,7 +237,7 @@ mem_hash(const void *p, uint s) } static inline uint -ptr_hash(void *ptr) +ptr_hash(const void *ptr) { uintptr_t p = (uintptr_t) ptr; return p ^ (p << 8) ^ (p >> 16); |