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 }