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
devs/bu5hm4n/luncher_verbose
Carsten Haitzler 6 years ago
parent dd4cd1ce73
commit 7d5db07a75
  1. 2
      src/bin/e_notification.c

@ -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…
Cancel
Save