aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-06-12 15:44:25 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-06-12 23:34:40 +0200
commitefe5fbb7807729c66b9db42af2b564b1b3943fa3 (patch)
tree24038e961b22d7acf27faa7cf021955e31e5a064
parentecore_wl: Handle ECORE_WL_WINDOW_TYPE_NONE correctly (diff)
downloadefl-efe5fbb7807729c66b9db42af2b564b1b3943fa3.tar.gz
eina_chained_mempool: fix ERR arg format
-rw-r--r--src/modules/eina/mp/chained_pool/eina_chained_mempool.c2
1 files changed, 1 insertions, 1 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 68e7a03411..820ccd004e 100644
--- a/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
+++ b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
@@ -231,7 +231,7 @@ _eina_chained_mempool_free_in(Chained_Mempool *pool, Chained_Pool *p, void *ptr)
// is it really a pointer returned by malloc
if ((((unsigned char *)ptr) - (unsigned char *)(p + 1)) % pool->item_alloc)
{
- ERR("%p is %i bytes inside a pointer served by %p '%s' Chained_Mempool (You are freeing the wrong pointer man !).",
+ ERR("%p is %lu bytes inside a pointer served by %p '%s' Chained_Mempool (You are freeing the wrong pointer man !).",
ptr, ((((unsigned char *)ptr) - (unsigned char *)(p + 1)) % pool->item_alloc), pool, pool->name);
return EINA_FALSE;
}