forked from enlightenment/enlightenment
e notification - silence alignment warning
the code is ok - it's aligned data from evas and we can address it by int ptrs, but the warning is noise, so simply add a void * cast in there
This commit is contained in:
parent
dd4cd1ce73
commit
7d5db07a75
|
@ -416,7 +416,7 @@ e_notification_notify_raw_image_get(E_Notification_Notify *notify, Evas *evas)
|
|||
for (y = 0; y < notify->icon.raw.height; y++)
|
||||
{
|
||||
s = notify->icon.raw.data + (y * notify->icon.raw.rowstride);
|
||||
d = (int *)(imgdata + (y * rowstride));
|
||||
d = (int *)(void *)(imgdata + (y * rowstride));
|
||||
|
||||
for (x = 0; x < notify->icon.raw.width;
|
||||
x++, s += notify->icon.raw.channels, d++)
|
||||
|
|
Loading…
Reference in New Issue