cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=61f7236a62db2c932c82bc68fb1ac8082514831f

commit 61f7236a62db2c932c82bc68fb1ac8082514831f
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Fri Feb 12 19:35:55 2016 +0100

    edje: fix typo affecting our 32bits signal matching code.
    
    Big thanks to Maxim who did a serious digging in this issue making it almost
    a patch review.
    
    T3125
    
    @fix
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/edje/edje_signal.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/edje/edje_signal.c b/src/lib/edje/edje_signal.c
index f77d47e..de93990 100644
--- a/src/lib/edje/edje_signal.c
+++ b/src/lib/edje/edje_signal.c
@@ -41,9 +41,9 @@ _edje_signal_match_key_hash(const void *key, int key_length 
EINA_UNUSED)
         hash ^= eina_hash_int64((const unsigned long long int 
*)&a->matches[i].source, sizeof (char *));
         hash ^= eina_hash_int64((const unsigned long long int 
*)&a->matches[i].func, sizeof (Edje_Signal_Cb));
 #else
-        hash ^= eina_hash_int32((const unsigned int *)a->matches[i].signal, 
sizeof (char *));
-        hash ^= eina_hash_int32((const unsigned int *)a->matches[i].source, 
sizeof (char *));
-        hash ^= eina_hash_int32((const unsigned int *)a->matches[i].func, 
sizeof (Edje_Signal_Cb));
+        hash ^= eina_hash_int32((const unsigned int *)&a->matches[i].signal, 
sizeof (char *));
+        hash ^= eina_hash_int32((const unsigned int *)&a->matches[i].source, 
sizeof (char *));
+        hash ^= eina_hash_int32((const unsigned int *)&a->matches[i].func, 
sizeof (Edje_Signal_Cb));
 #endif
      }
    return hash;

-- 


Reply via email to