bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6d20f32cef837d494210e6012cc9ef678b555b7b

commit 6d20f32cef837d494210e6012cc9ef678b555b7b
Author: Cedric BAIL <cedric.b...@free.fr>
Date:   Wed Nov 13 15:02:51 2019 -0800

    eo: no need to oversize type.
    
    Reviewed-by: Marcel Hollerbach <m...@marcel-hollerbach.de>
    Differential Revision: https://phab.enlightenment.org/D10659
---
 src/lib/eo/eo_base_class.c | 4 ++--
 1 file 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)

-- 


Reply via email to