diff options
Diffstat (limited to 'src/map/intif.c')
-rw-r--r-- | src/map/intif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/intif.c b/src/map/intif.c index b1a147d0f..c89d0c567 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -364,7 +364,7 @@ int intif_send_guild_storage(int account_id,struct guild_storage *gstor) return 0; WFIFOHEAD(inter_fd,sizeof(struct guild_storage)+12); WFIFOW(inter_fd,0) = 0x3019; - WFIFOW(inter_fd,2) = sizeof(struct guild_storage)+12; + WFIFOW(inter_fd,2) = (unsigned short)sizeof(struct guild_storage)+12; WFIFOL(inter_fd,4) = account_id; WFIFOL(inter_fd,8) = gstor->guild_id; memcpy( WFIFOP(inter_fd,12),gstor, sizeof(struct guild_storage) ); |