diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-09 19:09:30 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-09 19:09:30 +0000 |
commit | 67e8d17feb8e5562b357909d70c627813e825b2b (patch) | |
tree | 202c4ef0b136ea33e29e09f410bb2c11b7ea8600 /src/common | |
parent | 82e095822ab5b3638dad0beef8d974d155fc7d2d (diff) | |
download | hercules-67e8d17feb8e5562b357909d70c627813e825b2b.tar.gz hercules-67e8d17feb8e5562b357909d70c627813e825b2b.tar.bz2 hercules-67e8d17feb8e5562b357909d70c627813e825b2b.tar.xz hercules-67e8d17feb8e5562b357909d70c627813e825b2b.zip |
- Fixed some compiling warnings.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10196 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/malloc.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |