forked from enlightenment/efl
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.bail@samsung.com>
This commit is contained in:
parent
e570ea7805
commit
ec1ba32690
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue