Eina mempool: Fixed compilation warning.

This commit is contained in:
Tom Hacohen 2013-03-08 11:46:25 +00:00
parent 4eed45ae88
commit a35b034b7c
1 changed files with 2 additions and 2 deletions

View File

@ -135,11 +135,11 @@ _eina_chained_mp_pool_new(Chained_Mempool *pool)
sz = malloc_usable_size(p);
if (sz - pool->minimal_size > 0)
INF("Just allocated %0.2f%% to much memory in '%s' for one block of size %i that means %i bytes to much.",
INF("Just allocated %0.2f%% to much memory in '%s' for one block of size %i that means %lu bytes to much.",
((float)(sz - pool->minimal_size) * 100) / (float) (pool->alloc_size),
pool->name,
pool->alloc_size,
sz - pool->minimal_size);
(unsigned long) sz - pool->minimal_size);
}
#endif