From 67e8d17feb8e5562b357909d70c627813e825b2b Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 9 Apr 2007 19:09:30 +0000 Subject: - Fixed some compiling warnings. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10196 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/malloc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/common/malloc.c') diff --git a/src/common/malloc.c b/src/common/malloc.c index 1417bfbec..859b58b5e 100644 --- a/src/common/malloc.c +++ b/src/common/malloc.c @@ -575,8 +575,8 @@ static void memmgr_final (void) { #ifdef LOG_MEMMGR sprintf (buf, - "%04d : %s line %d size %d\n", ++count, - head->file, head->line, head->size); + "%04d : %s line %d size %lu\n", ++count, + head->file, head->line, (unsigned long)head->size); memmgr_log (buf); #endif // get block pointer and free it [celest] @@ -623,8 +623,8 @@ static void memmgr_final (void) large2 = large->next; #ifdef LOG_MEMMGR sprintf (buf, - "%04d : %s line %d size %d\n", ++count, - large->unit_head.file, large->unit_head.line, large->unit_head.size); + "%04d : %s line %d size %lu\n", ++count, + large->unit_head.file, large->unit_head.line, (unsigned long)large->unit_head.size); memmgr_log (buf); #endif FREE(large,file,line,func); -- cgit v1.2.3-60-g2f50