Browse Source

- Fixed error display when the exp table reads a value which is capped to UINT_MAX

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5261 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 years ago
parent
commit
7d88ebe2fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/map/pc.c

+ 1 - 1
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;