diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-15 11:52:22 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-15 11:52:22 +0000 |
commit | 4087efc58d048ff41d7e80e69928aa4f3e810274 (patch) | |
tree | 4518201f8e0d9507dd2a7c2b29bf0cc93aad6adc /src/common/utils.c | |
parent | 330d576bba93e993220c40485aaa028c35319a14 (diff) | |
download | hercules-4087efc58d048ff41d7e80e69928aa4f3e810274.tar.gz hercules-4087efc58d048ff41d7e80e69928aa4f3e810274.tar.bz2 hercules-4087efc58d048ff41d7e80e69928aa4f3e810274.tar.xz hercules-4087efc58d048ff41d7e80e69928aa4f3e810274.zip |
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
Diffstat (limited to 'src/common/utils.c')
-rw-r--r-- | src/common/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |