jeyzu pushed a commit to branch master.

commit efe5fbb7807729c66b9db42af2b564b1b3943fa3
Author: Jérémy Zurcher <[email protected]>
Date:   Wed Jun 12 15:44:25 2013 +0200

    eina_chained_mempool: fix ERR arg format
---
 src/modules/eina/mp/chained_pool/eina_chained_mempool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 68e7a03..820ccd0 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;
      }

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to