summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
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){