From 027548011c486d0d5d2e37c1a8ef234de4e07d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 18 Sep 2013 17:12:15 +0200 Subject: [PATCH] eo_ptr_indirection.x: fix _eo_id_release when !HAVE_EO_ID --- src/lib/eo/eo_ptr_indirection.x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eo/eo_ptr_indirection.x b/src/lib/eo/eo_ptr_indirection.x index b4d25cba67..00bcbae9ce 100644 --- a/src/lib/eo/eo_ptr_indirection.x +++ b/src/lib/eo/eo_ptr_indirection.x @@ -445,7 +445,7 @@ _eo_id_release(const Eo_Id obj_id) ERR("obj_id %p is not pointing to a valid object. Maybe it has already been freed.", (void *)obj_id); #else - EINA_MAGIC_SET(obj_id, EO_FREED_EINA_MAGIC); + EINA_MAGIC_SET((_Eo *) obj_id, EO_FREED_EINA_MAGIC); #endif }