summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-11-13 15:02:51 -0800
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-11-17 12:12:26 +0100
commit6d20f32cef837d494210e6012cc9ef678b555b7b (patch)
treeeccf2985ba2c6137f16c754fe8080549a17592df
parentc355616043c40b14cf613c5e5cce2e674177b34d (diff)
eo: no need to oversize type.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10659
-rw-r--r--src/lib/eo/eo_base_class.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index d10bf28..f475f5e 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -1259,7 +1259,7 @@ _pointer_hash(const uintptr_t val)
1259static inline void 1259static inline void
1260_special_event_count_inc(Eo *obj_id, Efl_Object_Data *pd, const Efl_Callback_Array_Item *it) 1260_special_event_count_inc(Eo *obj_id, Efl_Object_Data *pd, const Efl_Callback_Array_Item *it)
1261{ 1261{
1262 int event_hash; 1262 unsigned char event_hash;
1263 1263
1264 event_hash = _pointer_hash((uintptr_t) it->desc); 1264 event_hash = _pointer_hash((uintptr_t) it->desc);
1265 1265
@@ -1996,7 +1996,7 @@ _event_callback_call(Eo *obj_id, Efl_Object_Data *pd,
1996 .inserted_before = 0, 1996 .inserted_before = 0,
1997 .generation = 1, 1997 .generation = 1,
1998 }; 1998 };
1999 int event_hash; 1999 unsigned char event_hash;
2000 2000
2001 if (pd->callbacks_count == 0) return EINA_TRUE; 2001 if (pd->callbacks_count == 0) return EINA_TRUE;
2002 else EFL_OBJECT_EVENT_CALLBACK_BLOCK(pd, desc, EFL_EVENT_CALLBACK_ADD) 2002 else EFL_OBJECT_EVENT_CALLBACK_BLOCK(pd, desc, EFL_EVENT_CALLBACK_ADD)