From 7d5db07a7514a66b779cfd1a56d49c0248198d88 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sun, 12 Feb 2017 15:30:10 +0900 Subject: [PATCH] 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 --- src/bin/e_notification.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_notification.c b/src/bin/e_notification.c index fc759d81d..a004f6ccb 100644 --- a/src/bin/e_notification.c +++ b/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++)