diff options
author | Cedric BAIL <cedric.bail@free.fr> | 2019-11-13 15:02:51 -0800 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-11-17 12:12:26 +0100 |
commit | 6d20f32cef837d494210e6012cc9ef678b555b7b (patch) | |
tree | eccf2985ba2c6137f16c754fe8080549a17592df | |
parent | c355616043c40b14cf613c5e5cce2e674177b34d (diff) | |
download | efl-6d20f32cef837d494210e6012cc9ef678b555b7b.tar.gz |
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.c | 4 |
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 d10bf287bd..f475f5e22e 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) static inline void _special_event_count_inc(Eo *obj_id, Efl_Object_Data *pd, const Efl_Callback_Array_Item *it) { - int event_hash; + unsigned char event_hash; event_hash = _pointer_hash((uintptr_t) it->desc); @@ -1996,7 +1996,7 @@ _event_callback_call(Eo *obj_id, Efl_Object_Data *pd, .inserted_before = 0, .generation = 1, }; - int event_hash; + unsigned char event_hash; if (pd->callbacks_count == 0) return EINA_TRUE; else EFL_OBJECT_EVENT_CALLBACK_BLOCK(pd, desc, EFL_EVENT_CALLBACK_ADD) |