forked from enlightenment/efl
Fix warning. First compute value then increment pointer.
SVN revision: 27588
This commit is contained in:
parent
f3b4ebd01f
commit
4b1cf1116c
|
@ -682,8 +682,9 @@ evas_common_image_premul(RGBA_Image *im)
|
|||
{
|
||||
DATA32 a = 1 + (*s >> 24);
|
||||
|
||||
*s++ = (*s & 0xff000000) + (((((*s) >> 8) & 0xff) * a) & 0xff00) +
|
||||
*s = (*s & 0xff000000) + (((((*s) >> 8) & 0xff) * a) & 0xff00) +
|
||||
(((((*s) & 0x00ff00ff) * a) >> 8) & 0x00ff00ff);
|
||||
s++;
|
||||
if ((a == 1) || (a == 256))
|
||||
nas++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue