raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4c6248324b3ae6e1ba12b752c99410070b0c774f

commit 4c6248324b3ae6e1ba12b752c99410070b0c774f
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed May 12 12:06:11 2021 +0100

    paledit - silence warning about alignment - it's fine
    
    the pointers we get are aligned and the strides will be too as a
    result so this is a bogus warning in this case.
---
 src/bin/tools/paledit/palimg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/tools/paledit/palimg.c b/src/bin/tools/paledit/palimg.c
index 728cf4c97..fe718ead0 100644
--- a/src/bin/tools/paledit/palimg.c
+++ b/src/bin/tools/paledit/palimg.c
@@ -17,7 +17,7 @@ palimg_update(Evas_Object *img, Elm_Palette *pal)
    while (pixn < 256)
      {
 #define PIX_WRITE(r, g, b, a) \
-   *((int *)p) = (a << 24) | (r << 16) | (g << 8) | (b); \
+   *((int *)(void *)p) = (a << 24) | (r << 16) | (g << 8) | (b); \
    p += sizeof(int); \
    pixn++; \
    x++; \

-- 


Reply via email to