From 4087efc58d048ff41d7e80e69928aa4f3e810274 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 15 Apr 2012 11:52:22 +0000 Subject: Fixed compiling warning with gcc on --enable-64bit mode. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15860 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/common/utils.c b/src/common/utils.c index 8b9e33fa0..08ac8db15 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -45,14 +45,14 @@ void WriteDump(FILE* fp, const void* buffer, size_t length) if( (i%16) == 15 ) { - fprintf(fp, "%03X %s %s\n", i/16, hex, ascii); + fprintf(fp, "%03X %s %s\n", (unsigned int)(i/16), hex, ascii); } } if( (i%16) != 0 ) { ascii[i%16] = 0; - fprintf(fp, "%03X %-48s %-16s\n", i/16, hex, ascii); + fprintf(fp, "%03X %-48s %-16s\n", (unsigned int)(i/16), hex, ascii); } } -- cgit v1.2.3-70-g09d2