projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eed45a
)
Eina mempool: Fixed compilation warning.
author
Tom Hacohen
<tom@stosb.com>
Fri, 8 Mar 2013 11:46:25 +0000
(11:46 +0000)
committer
Tom Hacohen
<tom@stosb.com>
Fri, 8 Mar 2013 11:46:41 +0000
(11:46 +0000)
src/modules/eina/mp/chained_pool/eina_chained_mempool.c
patch
|
blob
|
history
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 a477d82870f858919f33c862babcc6d2b7a24ea7..9c7ea5636c25ba2cae4b8347fb1324e070fd81e8 100644
(file)
--- 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)
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