raster pushed a commit to branch master.

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

commit eb8f2a68b059aafbd9e1175f7093378701257ead
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sun Feb 12 16:07:15 2017 +0900

    e comp - fix stupid cast to from eina rect* to char* to eina rect* again
    
    just causes warnings and makes no sense...
---
 src/bin/e_comp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index bbc2c40..ef86485 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -775,7 +775,7 @@ _e_comp_shapes_update_job(void *d EINA_UNUSED)
    i = 0;
    EINA_ITERATOR_FOREACH(ti, tr)
      {
-        exr[i++] = *(Eina_Rectangle*)((char*)tr);
+        exr[i++] = *((Eina_Rectangle *)tr);
         if (i == tile_count - 1)
           exr = realloc(exr, sizeof(Eina_Rectangle) * (tile_count *= 2));
 #ifdef SHAPE_DEBUG

-- 


Reply via email to