diff options
Diffstat (limited to 'src/char/int_guild.c')
-rw-r--r-- | src/char/int_guild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/int_guild.c b/src/char/int_guild.c index b3a907b1a..c18bf7d3c 100644 --- a/src/char/int_guild.c +++ b/src/char/int_guild.c @@ -602,7 +602,7 @@ static struct guild_castle* inter_guildcastle_fromsql(int castle_id) // Read exp_guild.txt static bool exp_guild_parse_row(char* split[], int column, int current) { - unsigned int exp = atoll(split[0]); + unsigned int exp = (unsigned int)atol(split[0]); if (exp < 0 || exp >= UINT_MAX) { ShowError("exp_guild: Invalid exp %d at line %d\n", exp, current); |