fix clang sizeof complaint

This commit is contained in:
Carsten Haitzler 2013-07-16 20:45:09 +09:00
parent a484403db8
commit 08105a0136
1 changed files with 1 additions and 1 deletions

View File

@ -1739,7 +1739,7 @@ reorder_parts(void)
amount = ep->reorder.linked_prev + ep->reorder.linked_next + 1;
linked = i - ep->reorder.linked_prev;
parts = malloc(amount * sizeof(Edje_Part));
parts = malloc(amount * sizeof(Edje_Part *));
for (j = 0 ; j < amount ; j++)
{
parts[j] = pc->parts[linked];