cedric pushed a commit to branch master.

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

commit ec1ba326909fae86cf7738b8475bfd05bc2323cb
Author: Ryuan Choi <ryuan.c...@gmail.com>
Date:   Tue Nov 5 15:45:52 2013 +0900

    eina: Avoid increasing required alignment of target type warning on ARM in 
Eina_Hash.
    
    Summary:
    When building applications with -Wcast-align on ARM, there are following 
warnings.
    increases required alignment of target type warnings. This impact 
eina_hash_murmur3.
    
    Reviewers: cedric, seoz
    
    Reviewed By: cedric
    
    CC: cedric
    
    Differential Revision: https://phab.enlightenment.org/D317
    
    Signed-off-by: Cedric Bail <cedric.b...@samsung.com>
---
 src/lib/eina/eina_inline_hash.x | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_inline_hash.x b/src/lib/eina/eina_inline_hash.x
index b2fc3f3..29264b1 100644
--- a/src/lib/eina/eina_inline_hash.x
+++ b/src/lib/eina/eina_inline_hash.x
@@ -111,7 +111,7 @@ eina_hash_murmur3(const char *key, int len)
    unsigned int h1 = 0, k1;
    unsigned int c1 = 0xcc9e2d51 ^ eina_seed;
    unsigned int c2 = 0x1b873593 ^ eina_seed;
-   const unsigned int * blocks = (const unsigned int *)(data + nblocks*4);
+   const unsigned int * blocks = (const unsigned int *)(void*)(data + 
nblocks*4);
    int i;
    const unsigned char *tail;
 

-- 


Reply via email to