summaryrefslogtreecommitdiff
path: root/src/map/intif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-04-20 15:40:19 +0200
committerHaru <haru@dotalux.com>2016-04-23 19:08:11 +0200
commite4feddf5198f1c9d45a6c34a95b251df773ab6db (patch)
tree7d6fb02f933f6772851f375f7c176bd2f32a617f /src/map/intif.h
parentdc23fd3ee6029efe881fa73ed9f4f85e4548bc59 (diff)
downloadhercules-e4feddf5198f1c9d45a6c34a95b251df773ab6db.tar.gz
hercules-e4feddf5198f1c9d45a6c34a95b251df773ab6db.tar.bz2
hercules-e4feddf5198f1c9d45a6c34a95b251df773ab6db.tar.xz
hercules-e4feddf5198f1c9d45a6c34a95b251df773ab6db.zip
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 <haru@dotalux.com>
Diffstat (limited to 'src/map/intif.h')
-rw-r--r--src/map/intif.h4
1 files changed, 2 insertions, 2 deletions
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);