diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-03 09:46:35 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-03 09:46:35 +0000 |
commit | 9ded493ba82983942244317f6c29b0d38c0bcd1d (patch) | |
tree | e5f6173ed5c8850b05d8cbc9e513ae314603a929 /src | |
parent | c2a903c8ad865c94875fd3aaffae1647afc2ba8d (diff) | |
download | hercules-9ded493ba82983942244317f6c29b0d38c0bcd1d.tar.gz hercules-9ded493ba82983942244317f6c29b0d38c0bcd1d.tar.bz2 hercules-9ded493ba82983942244317f6c29b0d38c0bcd1d.tar.xz hercules-9ded493ba82983942244317f6c29b0d38c0bcd1d.zip |
Changed atoi to strtoul for guild-experience's field
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8090 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/char_sql/int_guild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c index dea17c3f4..2d2c871f9 100644 --- a/src/char_sql/int_guild.c +++ b/src/char_sql/int_guild.c @@ -463,7 +463,7 @@ struct guild * inter_guild_fromsql(int guild_id) m->gender=atoi(sql_row[5]);
m->class_=atoi(sql_row[6]);
m->lv=atoi(sql_row[7]);
- m->exp=atoi(sql_row[8]);
+ m->exp=strtoul(sql_row[8],NULL,10);
m->exp_payper=atoi(sql_row[9]);
m->online=atoi(sql_row[10]);
m->position = atoi(sql_row[11]);
|