summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRyuan Choi <ryuan.choi@gmail.com>2013-11-05 15:45:52 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-11-05 15:45:56 +0900
commitec1ba326909fae86cf7738b8475bfd05bc2323cb (patch)
tree0c84082e6f327cf971e57fe7513eba6e11e9a63b /src
parente570ea7805ffb56ee9b95c703fd0a13a7d185b07 (diff)
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>
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_inline_hash.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_inline_hash.x b/src/lib/eina/eina_inline_hash.x
index b2fc3f3ee3..29264b15eb 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)
111 unsigned int h1 = 0, k1; 111 unsigned int h1 = 0, k1;
112 unsigned int c1 = 0xcc9e2d51 ^ eina_seed; 112 unsigned int c1 = 0xcc9e2d51 ^ eina_seed;
113 unsigned int c2 = 0x1b873593 ^ eina_seed; 113 unsigned int c2 = 0x1b873593 ^ eina_seed;
114 const unsigned int * blocks = (const unsigned int *)(data + nblocks*4); 114 const unsigned int * blocks = (const unsigned int *)(void*)(data + nblocks*4);
115 int i; 115 int i;
116 const unsigned char *tail; 116 const unsigned char *tail;
117 117