summaryrefslogtreecommitdiff
path: root/src/ladmin/ladmin.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-09 19:09:30 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-09 19:09:30 +0000
commit67e8d17feb8e5562b357909d70c627813e825b2b (patch)
tree202c4ef0b136ea33e29e09f410bb2c11b7ea8600 /src/ladmin/ladmin.c
parent82e095822ab5b3638dad0beef8d974d155fc7d2d (diff)
downloadhercules-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/ladmin/ladmin.c')
-rw-r--r--src/ladmin/ladmin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ladmin/ladmin.c b/src/ladmin/ladmin.c
index 38d7dcefc..66bada1c3 100644
--- a/src/ladmin/ladmin.c
+++ b/src/ladmin/ladmin.c
@@ -2198,11 +2198,11 @@ int changememo(char* param) {
if (strlen(memo) > 254) {
if (defaultlanguage == 'F') {
- printf("Mémo trop long (%d caractères).\n", strlen(memo));
+ printf("Mémo trop long (%lu caractères).\n", (unsigned long)strlen(memo));
printf("Entrez un mémo de 254 caractères maximum svp.\n");
ladmin_log("Mémo trop long (%d caractères). Entrez un mémo de 254 caractères maximum svp." RETCODE, strlen(memo));
} else {
- printf("Memo is too long (%d characters).\n", strlen(memo));
+ printf("Memo is too long (%lu characters).\n", (unsigned long)strlen(memo));
printf("Please input a memo of 254 bytes at the maximum.\n");
ladmin_log("Email is too long (%d characters). Please input a memo of 254 bytes at the maximum." RETCODE, strlen(memo));
}