raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=7d5db07a7514a66b779cfd1a56d49c0248198d88

commit 7d5db07a7514a66b779cfd1a56d49c0248198d88
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sun Feb 12 15:30:10 2017 +0900

    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 fc759d8..a004f6c 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++)

-- 


Reply via email to