diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-06-12 15:44:25 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-06-12 23:34:40 +0200 |
commit | efe5fbb7807729c66b9db42af2b564b1b3943fa3 (patch) | |
tree | 24038e961b22d7acf27faa7cf021955e31e5a064 | |
parent | 734e52d011ffd95e8af21ac22aa602647770ff29 (diff) | |
download | efl-efe5fbb7807729c66b9db42af2b564b1b3943fa3.tar.gz |
eina_chained_mempool: fix ERR arg format
-rw-r--r-- | src/modules/eina/mp/chained_pool/eina_chained_mempool.c | 2 |
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; } |