summaryrefslogtreecommitdiff
path: root/src/map/clif.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/clif.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/clif.h')
-rw-r--r--src/map/clif.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index 6d6c368f2..534f04ed7 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -844,8 +844,8 @@ struct clif_interface {
void (*wis_message) (int fd, const char* nick, const char* mes, size_t mes_len);
void (*wis_end) (int fd, int flag);
void (*disp_message) (struct block_list* src, const char* mes, size_t len, enum send_target target);
- void (*broadcast) (struct block_list* bl, const char* mes, size_t len, int type, enum send_target target);
- void (*broadcast2) (struct block_list* bl, const char* mes, size_t len, unsigned int fontColor, short fontType, short fontSize, short fontAlign, short fontY, enum send_target target);
+ void (*broadcast) (struct block_list *bl, const char *mes, int len, int type, enum send_target target);
+ void (*broadcast2) (struct block_list *bl, const char *mes, int len, unsigned int fontColor, short fontType, short fontSize, short fontAlign, short fontY, enum send_target target);
void (*messagecolor_self) (int fd, uint32 color, const char *msg);
void (*messagecolor) (struct block_list* bl, uint32 color, const char* msg);
void (*disp_overhead) (struct block_list *bl, const char* mes);