Fix compiler warning(s) about eina_hash_int64 being passed pointer

from integer

Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
Chris Michael 2013-10-27 15:43:18 +00:00
parent b10243a5ea
commit 2be84a6073
1 changed files with 2 additions and 2 deletions

View File

@ -247,8 +247,8 @@ _part_lookup_key_pc_hash(const void *key, int key_length EINA_UNUSED)
if (a->stable)
{
#ifdef __LP64__
return eina_hash_int64((uintptr_t) &a->pc, sizeof (void*)) ^
eina_hash_int64((uintptr_t) &a->mem.dest, sizeof (void*));
return eina_hash_int64((uintptr_t *) &a->pc, sizeof (void*)) ^
eina_hash_int64((uintptr_t *) &a->mem.dest, sizeof (void*));
#else
return eina_hash_int32((uintptr_t*) &a->pc, sizeof (void*)) ^
eina_hash_int32((uintptr_t*) &a->mem.dest, sizeof (void*));