aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-09-18 17:12:15 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-09-18 17:12:15 +0200
commit027548011c486d0d5d2e37c1a8ef234de4e07d71 (patch)
tree2f97e0b230a2ae690b772be56727259d5fce69ca
parentEvasGL: Fixed a bug where the wrong data variable to buffer alloc func. (diff)
downloadefl-027548011c486d0d5d2e37c1a8ef234de4e07d71.tar.gz
eo_ptr_indirection.x: fix _eo_id_release when !HAVE_EO_ID
-rw-r--r--src/lib/eo/eo_ptr_indirection.x2
1 files changed, 1 insertions, 1 deletions
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
}