summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-11 13:21:30 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-11 23:13:00 +0900
commitf00dbd2252a883655ad26b77520e0ee1724edb19 (patch)
tree04fa4dc5849163330fa968fd4ac2bb124382d7e0 /src
parenteb3f6f06f1308c474bb75c5bbd51caef37b1715d (diff)
evas convert color - neon asm - fix warning by casting - no side effects
it's a warning one way or another so reduce noise with a harmless case as passing in a pit ro a 32bit type is more restrictive than the ptr it accepts (an 8bit type)
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/common/evas_convert_color.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/common/evas_convert_color.c b/src/lib/evas/common/evas_convert_color.c
index c18137f2c4..ee26638b3b 100644
--- a/src/lib/evas/common/evas_convert_color.c
+++ b/src/lib/evas/common/evas_convert_color.c
@@ -71,7 +71,7 @@ evas_common_convert_argb_premul(DATA32 *data, unsigned int len)
71 71
72 while (data <= de - 8) 72 while (data <= de - 8)
73 { 73 {
74 uint8x8x4_t rgba = vld4_u8(data); 74 uint8x8x4_t rgba = vld4_u8((uint8_t *)data);
75 75
76 cmp = vand_u8(vorr_u8(vceq_u8(rgba.val[3], mask_0xff), 76 cmp = vand_u8(vorr_u8(vceq_u8(rgba.val[3], mask_0xff),
77 vceq_u8(rgba.val[3], mask_0x00)), 77 vceq_u8(rgba.val[3], mask_0x00)),
@@ -91,7 +91,7 @@ evas_common_convert_argb_premul(DATA32 *data, unsigned int len)
91 lrgba.val[3]), 8); 91 lrgba.val[3]), 8);
92 rgba.val[2] = vshrn_n_u16(vmlaq_u16(lrgba.val[2], lrgba.val[2], 92 rgba.val[2] = vshrn_n_u16(vmlaq_u16(lrgba.val[2], lrgba.val[2],
93 lrgba.val[3]), 8); 93 lrgba.val[3]), 8);
94 vst4_u8(data, rgba); 94 vst4_u8((uint8_t *)data, rgba);
95 data += 8; 95 data += 8;
96 } 96 }
97 } 97 }