e comp - fix stupid cast to from eina rect* to char* to eina rect* again

just causes warnings and makes no sense...
This commit is contained in:
Carsten Haitzler 2017-02-12 16:07:15 +09:00
parent d8e639a9ea
commit eb8f2a68b0
1 changed files with 1 additions and 1 deletions

View File

@ -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