diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-04-03 21:37:59 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-04-03 21:37:59 -0700 |
commit | 721265e0fe2bd38bafd3a09a0e574e10c89bd345 (patch) | |
tree | 1aa6ff398094c81d490b7284e4cb9c8e0fde7e93 /src/map/intif.c | |
parent | 4095d5726ebabc663a6d5397d003773ee652818a (diff) | |
download | tmwa-721265e0fe2bd38bafd3a09a0e574e10c89bd345.tar.gz tmwa-721265e0fe2bd38bafd3a09a0e574e10c89bd345.tar.bz2 tmwa-721265e0fe2bd38bafd3a09a0e574e10c89bd345.tar.xz tmwa-721265e0fe2bd38bafd3a09a0e574e10c89bd345.zip |
Fix some more compiler warnings
Diffstat (limited to 'src/map/intif.c')
-rw-r--r-- | src/map/intif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/intif.c b/src/map/intif.c index 629eade..7069e3a 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -366,7 +366,7 @@ int intif_guild_leave (int guild_id, int account_id, int char_id, int flag, // ギルドメンバのオンライン状況/Lv更新要求 int intif_guild_memberinfoshort (int guild_id, int account_id, int char_id, int online, - int lv, int class) + int lv, int class_) { WFIFOW (inter_fd, 0) = 0x3035; WFIFOL (inter_fd, 2) = guild_id; @@ -374,7 +374,7 @@ int intif_guild_memberinfoshort (int guild_id, WFIFOL (inter_fd, 10) = char_id; WFIFOB (inter_fd, 14) = online; WFIFOW (inter_fd, 15) = lv; - WFIFOW (inter_fd, 17) = class; + WFIFOW (inter_fd, 17) = class_; WFIFOSET (inter_fd, 19); return 0; } @@ -603,7 +603,7 @@ int mapif_parse_WisToGM (int fd) message[len - 1] = '\0'; // information is sended to all online GM for (i = 0; i < fd_max; i++) - if (session[i] && (pl_sd = session[i]->session_data) + if (session[i] && (pl_sd = (struct map_session_data *)session[i]->session_data) && pl_sd->state.auth) if (pc_isGM (pl_sd) >= min_gm_level) clif_wis_message (i, Wisp_name, message, |