forked from enlightenment/enlightenment
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:
parent
d8e639a9ea
commit
eb8f2a68b0
|
@ -775,7 +775,7 @@ _e_comp_shapes_update_job(void *d EINA_UNUSED)
|
||||||
i = 0;
|
i = 0;
|
||||||
EINA_ITERATOR_FOREACH(ti, tr)
|
EINA_ITERATOR_FOREACH(ti, tr)
|
||||||
{
|
{
|
||||||
exr[i++] = *(Eina_Rectangle*)((char*)tr);
|
exr[i++] = *((Eina_Rectangle *)tr);
|
||||||
if (i == tile_count - 1)
|
if (i == tile_count - 1)
|
||||||
exr = realloc(exr, sizeof(Eina_Rectangle) * (tile_count *= 2));
|
exr = realloc(exr, sizeof(Eina_Rectangle) * (tile_count *= 2));
|
||||||
#ifdef SHAPE_DEBUG
|
#ifdef SHAPE_DEBUG
|
||||||
|
|
Loading…
Reference in New Issue