jeyzu pushed a commit to branch master.

commit 1953f10b189dc6fe9faee35bc6282be34a5a4b01
Author: Jérémy Zurcher <[email protected]>
Date:   Sun May 5 15:16:36 2013 +0200

    eo ptr ind: fix cast when eo_id is disabled
---
 src/lib/eo/eo_ptr_indirection.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eo/eo_ptr_indirection.h b/src/lib/eo/eo_ptr_indirection.h
index 86355b3..4a35208 100644
--- 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)
 

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2

Reply via email to