summaryrefslogtreecommitdiff
path: root/src/modules/eina
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-03-08 11:46:25 +0000
committerTom Hacohen <tom@stosb.com>2013-03-08 11:46:41 +0000
commita35b034b7c53aef6413aecde69da7c697b4f829a (patch)
tree30b102b46350cd9b55f60f84476c67cca3eef841 /src/modules/eina
parent4eed45ae88e607b9b179865bebafd24482f84203 (diff)
Eina mempool: Fixed compilation warning.
Diffstat (limited to 'src/modules/eina')
-rw-r--r--src/modules/eina/mp/chained_pool/eina_chained_mempool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
index a477d82870..9c7ea5636c 100644
--- a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
+++ b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
@@ -135,11 +135,11 @@ _eina_chained_mp_pool_new(Chained_Mempool *pool)
135 135
136 sz = malloc_usable_size(p); 136 sz = malloc_usable_size(p);
137 if (sz - pool->minimal_size > 0) 137 if (sz - pool->minimal_size > 0)
138 INF("Just allocated %0.2f%% to much memory in '%s' for one block of size %i that means %i bytes to much.", 138 INF("Just allocated %0.2f%% to much memory in '%s' for one block of size %i that means %lu bytes to much.",
139 ((float)(sz - pool->minimal_size) * 100) / (float) (pool->alloc_size), 139 ((float)(sz - pool->minimal_size) * 100) / (float) (pool->alloc_size),
140 pool->name, 140 pool->name,
141 pool->alloc_size, 141 pool->alloc_size,
142 sz - pool->minimal_size); 142 (unsigned long) sz - pool->minimal_size);
143 } 143 }
144#endif 144#endif
145 145