Fix compilation errors

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-12-03 15:43:39 -05:00
parent f8d4573fa1
commit 8604c79ab5
1 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ static Ecore_Idler *_save_idler = NULL;
static Ecore_Timer *_save_timer = NULL;
static Eina_List *_grids = NULL;
static uint64_t _allocated = 0;
static Alloc *alloc[MEM_BLOCKS] = { 0 };
static int
_alloc_roundup_block_size(int sz)
@ -157,7 +158,7 @@ _grid_save_free(void *ptr)
sz = sizeof(Grid_Save_Comp) + gs->w;
else
sz = sizeof(Grid_Save) + ((gs->w - 1) * sizeof(Grid_Cell));
sz = roundup_block_size(sz);
sz = _alloc_roundup_block_size(sz);
_allocated -= sz;
al = _alloc_find(ptr);