summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-12 21:42:07 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-12 21:42:07 +0000
commit293b6db260480627d08bc4465af88e01b0b4edcf (patch)
treeb9165dc36eb70c9a3e281adaab721e271a1ae92e
parentb49315d82b46ad524d6950b9292709e451a48e9f (diff)
downloadhercules-293b6db260480627d08bc4465af88e01b0b4edcf.tar.gz
hercules-293b6db260480627d08bc4465af88e01b0b4edcf.tar.bz2
hercules-293b6db260480627d08bc4465af88e01b0b4edcf.tar.xz
hercules-293b6db260480627d08bc4465af88e01b0b4edcf.zip
- Fixed error display when the exp table reads a value which is capped to UINT_MAX
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5261 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 34286e3cb..675895449 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -8072,7 +8072,7 @@ int pc_split_atoui(char *str,unsigned int *val, char sep, int max)
val[i] = UINT_MAX;
if (!warning) {
warning = 1;
- ShowWarning("pc_readdb (exp.txt): Required exp per level is capped to %d\n", UINT_MAX);
+ ShowWarning("pc_readdb (exp.txt): Required exp per level is capped to %u\n", UINT_MAX);
}
} else
val[i] = (unsigned int)f;