projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94b6dff
)
eo ptr ind: fix cast when eo_id is disabled
author
Jérémy Zurcher
<jeremy@asynk.ch>
Sun, 5 May 2013 13:16:36 +0000
(15:16 +0200)
committer
Jérémy Zurcher
<jeremy@asynk.ch>
Sun, 5 May 2013 13:18:01 +0000
(15:18 +0200)
src/lib/eo/eo_ptr_indirection.h
patch
|
blob
|
history
diff --git
a/src/lib/eo/eo_ptr_indirection.h
b/src/lib/eo/eo_ptr_indirection.h
index
86355b3
..
4a35208
100644
(file)
--- a/
src/lib/eo/eo_ptr_indirection.h
+++ b/
src/lib/eo/eo_ptr_indirection.h
@@
-41,14
+41,14
@@
void _eo_free_ids_tables();
#define EO_OBJ_POINTER_RETURN_VAL(obj_id, obj, ret) \
_Eo *obj; \
do { \
- obj = _eo_obj_pointer_get(obj_id); \
+ obj = _eo_obj_pointer_get(
(Eo_Id)
obj_id); \
EO_MAGIC_RETURN_VAL(obj, EO_EINA_MAGIC, ret); \
} while (0)
#define EO_OBJ_POINTER_RETURN(obj_id, obj) \
_Eo *obj; \
do { \
- obj = _eo_obj_pointer_get(obj_id); \
+ obj = _eo_obj_pointer_get(
(Eo_Id)
obj_id); \
EO_MAGIC_RETURN(obj, EO_EINA_MAGIC); \
} while (0)