diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-11 05:30:23 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-11 05:30:23 +0000 |
commit | 139975b43ca2e325add8d09a917b36e43716046e (patch) | |
tree | 7b3614c55bb4dd553b179b1d65984c69c08256e9 /src/map/guild.c | |
parent | 73bd6c4490e6e9b5c7284aabd9e08579595abdd8 (diff) | |
download | hercules-139975b43ca2e325add8d09a917b36e43716046e.tar.gz hercules-139975b43ca2e325add8d09a917b36e43716046e.tar.bz2 hercules-139975b43ca2e325add8d09a917b36e43716046e.tar.xz hercules-139975b43ca2e325add8d09a917b36e43716046e.zip |
* [Fixed]
- Compilation warnings on guild.c and int_guild.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7088 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/guild.c')
-rw-r--r-- | src/map/guild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c index 8e4a16901..689b67d93 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -367,7 +367,7 @@ int guild_payexp_timer_sub(DBKey dataid, void *data, va_list ap) return 0;
}
- if (g->member[i].exp > UINT_MAX - c->exp)
+ if ((long long)g->member[i].exp > (long long)(UINT_MAX - c->exp))
g->member[i].exp = UINT_MAX;
else
g->member[i].exp+= c->exp;
|