diff options
author | Haru <haru@dotalux.com> | 2016-04-20 17:23:03 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-04-23 19:12:28 +0200 |
commit | f5b88f9e0e7868b96c089787cfeccf413d754b56 (patch) | |
tree | 8bf0b23a2a2c4f2ea4a15519da9ce67e9fadc375 /src/map/clif.h | |
parent | 4788c813c654c522d336dd9fb1229c1cbdd2d7de (diff) | |
download | hercules-f5b88f9e0e7868b96c089787cfeccf413d754b56.tar.gz hercules-f5b88f9e0e7868b96c089787cfeccf413d754b56.tar.bz2 hercules-f5b88f9e0e7868b96c089787cfeccf413d754b56.tar.xz hercules-f5b88f9e0e7868b96c089787cfeccf413d754b56.zip |
Corrected the type of the 'length' argument of other message-related functions
- Variable types were changed to int
- Corrects several warnings in VS2015
- Affected functions: `clif->wis_message()`, `intif->wis_message()`,
`intif->guild_change_gm()`.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index 459d62d7b..4d22fd4af 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -841,7 +841,7 @@ struct clif_interface { void (*clearchat) (struct chat_data *cd,int fd); void (*leavechat) (struct chat_data* cd, struct map_session_data* sd, bool flag); void (*changechatstatus) (struct chat_data* cd); - void (*wis_message) (int fd, const char* nick, const char* mes, size_t mes_len); + void (*wis_message) (int fd, const char *nick, const char *mes, int mes_len); void (*wis_end) (int fd, int flag); void (*disp_message) (struct block_list *src, const char *mes, enum send_target target); void (*broadcast) (struct block_list *bl, const char *mes, int len, int type, enum send_target target); |