From 8d0d8cfc502c55e600855a9a24b3bdbe8c844ed5 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Tue, 21 Feb 2017 21:10:07 +0100 Subject: [PATCH] Fix issue --- m-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-core.h b/m-core.h index 426bac60..4bda8d62 100644 --- a/m-core.h +++ b/m-core.h @@ -659,7 +659,7 @@ m_core_hash(const void *ptr, size_t s) } return hash; } -#define M_HASH_DEFAULT(a) m_core_hash(&(a), sizeof (a)) +#define M_HASH_DEFAULT(a) m_core_hash((const void*) &(a), sizeof (a)) #define M_DEFAULT_OPLIST \ (INIT(M_INIT_DEFAULT), INIT_SET(M_SET_DEFAULT), SET(M_SET_DEFAULT), \