diff options
author | Dastgir <dastgir@users.noreply.github.com> | 2015-04-11 06:27:22 +0530 |
---|---|---|
committer | Dastgir <dastgir@users.noreply.github.com> | 2015-04-11 06:27:22 +0530 |
commit | f00811a93b0631283faebb43dcd2e0382d9e0ce1 (patch) | |
tree | 402047911ea7d1f144cc00175af3c744c00c7199 /src/char/int_guild.c | |
parent | da391caae9d51086ee6b817dbc98459c7fa5fc79 (diff) | |
parent | 41ab668531c9e67b0551592009f2fb44da04a313 (diff) | |
download | hercules-f00811a93b0631283faebb43dcd2e0382d9e0ce1.tar.gz hercules-f00811a93b0631283faebb43dcd2e0382d9e0ce1.tar.bz2 hercules-f00811a93b0631283faebb43dcd2e0382d9e0ce1.tar.xz hercules-f00811a93b0631283faebb43dcd2e0382d9e0ce1.zip |
Merge pull request #494 from csnv/master
Fixed some compiling errors under MSVC
Diffstat (limited to 'src/char/int_guild.c')
-rw-r--r-- | src/char/int_guild.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/char/int_guild.c b/src/char/int_guild.c index 13aaeb0b4..3ba51e1f0 100644 --- a/src/char/int_guild.c +++ b/src/char/int_guild.c @@ -944,9 +944,11 @@ int mapif_guild_memberadded(int fd, int guild_id, int account_id, int char_id, i // ACK member leave int mapif_guild_withdraw(int guild_id,int account_id,int char_id,int flag, const char *name, const char *mes) { + unsigned char buf[55+NAME_LENGTH]; + nullpo_ret(name); nullpo_ret(mes); - unsigned char buf[55+NAME_LENGTH]; + WBUFW(buf, 0)=0x3834; WBUFL(buf, 2)=guild_id; WBUFL(buf, 6)=account_id; |