From eb8f2a68b059aafbd9e1175f7093378701257ead Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sun, 12 Feb 2017 16:07:15 +0900 Subject: [PATCH] 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 bbc2c40c9..ef8648508 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