tasn pushed a commit to branch master.
commit a35b034b7c53aef6413aecde69da7c697b4f829a
Author: Tom Hacohen <[email protected]>
Date: Fri Mar 8 11:46:25 2013 +0000
Eina mempool: Fixed compilation warning.
---
src/modules/eina/mp/chained_pool/eina_chained_mempool.c | 4 ++--
1 file 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 a477d82..9c7ea56 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)
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
--
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev