summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 15:30:10 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 16:25:35 +0900
commit7d5db07a7514a66b779cfd1a56d49c0248198d88 (patch)
treefcc72b3e8e37ceb74b5f8a4300c914ea5b5b6abe
parentdd4cd1ce73d68dbf34ceca89b6b1e9c3255cb77e (diff)
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
-rw-r--r--src/bin/e_notification.c2
1 files changed, 1 insertions, 1 deletions
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)
416 for (y = 0; y < notify->icon.raw.height; y++) 416 for (y = 0; y < notify->icon.raw.height; y++)
417 { 417 {
418 s = notify->icon.raw.data + (y * notify->icon.raw.rowstride); 418 s = notify->icon.raw.data + (y * notify->icon.raw.rowstride);
419 d = (int *)(imgdata + (y * rowstride)); 419 d = (int *)(void *)(imgdata + (y * rowstride));
420 420
421 for (x = 0; x < notify->icon.raw.width; 421 for (x = 0; x < notify->icon.raw.width;
422 x++, s += notify->icon.raw.channels, d++) 422 x++, s += notify->icon.raw.channels, d++)