aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eina/eina_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eina/eina_hash.c')
-rw-r--r--src/lib/eina/eina_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_hash.c b/src/lib/eina/eina_hash.c
index c24bc9e677..a8ecdb8929 100644
--- a/src/lib/eina/eina_hash.c
+++ b/src/lib/eina/eina_hash.c
@@ -493,7 +493,7 @@ _eina_hash_del_by_key(Eina_Hash *hash, const void *key, const void *data)
static int
_eina_stringshared_hash(const void *key, int key_length EINA_UNUSED)
{
- return eina_hash_superfast(&key, sizeof (void*));
+ return eina_hash_superfast((const void*) &key, sizeof (void*));
}
static unsigned int