From e4feddf5198f1c9d45a6c34a95b251df773ab6db Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 20 Apr 2016 15:40:19 +0200 Subject: Corrected the type of the 'length' argument of various broadcast-related functions - Variable types were changed to int - Corrects several warnings in VS2015 - Affected functions: `clif->broadcast()`, `clif->broadcast2()`, `intif->broadcast()`, `intif->broadcast2()` Signed-off-by: Haru --- src/map/intif.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/intif.h') diff --git a/src/map/intif.h b/src/map/intif.h index dccd31d80..11d301ad0 100644 --- a/src/map/intif.h +++ b/src/map/intif.h @@ -59,8 +59,8 @@ struct intif_interface { int (*parse) (int fd); int (*create_pet)(int account_id, int char_id, short pet_type, short pet_lv, short pet_egg_id, short pet_equip, short intimate, short hungry, char rename_flag, char incubate, char *pet_name); - int (*broadcast) (const char* mes, size_t len, int type); - int (*broadcast2) (const char* mes, size_t len, unsigned int fontColor, short fontType, short fontSize, short fontAlign, short fontY); + int (*broadcast) (const char *mes, int len, int type); + int (*broadcast2) (const char *mes, int len, unsigned int fontColor, short fontType, short fontSize, short fontAlign, short fontY); int (*main_message) (struct map_session_data* sd, const char* message); int (*wis_message) (struct map_session_data *sd, const char *nick, const char *mes, size_t mes_len); int (*wis_message_to_gm) (char *Wisp_name, int permission, char *mes); -- cgit v1.2.3-70-g09d2