summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-09 03:51:18 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-09 03:51:18 +0000
commit400200948796c1fcd529b79a1026be4064c37b67 (patch)
tree92a0ae7b09c8b5b96e8e5d11bb3a47d8dc32c6de /src/map/intif.c
parent43b44e59a86da8c2bc9103bb28ccf1cd9a86b104 (diff)
downloadhercules-400200948796c1fcd529b79a1026be4064c37b67.tar.gz
hercules-400200948796c1fcd529b79a1026be4064c37b67.tar.bz2
hercules-400200948796c1fcd529b79a1026be4064c37b67.tar.xz
hercules-400200948796c1fcd529b79a1026be4064c37b67.zip
- Modified guild exp to be an unsigned int rather than a signed one.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7059 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.c')
-rw-r--r--src/map/intif.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index fc7fd6c3d..4081997d6 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -1166,7 +1166,8 @@ int intif_parse_GuildBroken(int fd)
// ギルド基本情報変更通知
int intif_parse_GuildBasicInfoChanged(int fd)
{
- int type, guild_id, dd;
+ int type, guild_id;
+ unsigned int dd;
void *data;
struct guild *g;
short dw;
@@ -1176,7 +1177,7 @@ int intif_parse_GuildBasicInfoChanged(int fd)
data=RFIFOP(fd,10);
g=guild_search(guild_id);
dw=*((short *)data);
- dd=*((int *)data);
+ dd=*((unsigned int *)data);
if( g==NULL )
return 0;
switch(type){