summaryrefslogtreecommitdiff
path: root/src/map/intif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-04-20 17:23:03 +0200
committerHaru <haru@dotalux.com>2016-04-23 19:12:28 +0200
commitf5b88f9e0e7868b96c089787cfeccf413d754b56 (patch)
tree8bf0b23a2a2c4f2ea4a15519da9ce67e9fadc375 /src/map/intif.h
parent4788c813c654c522d336dd9fb1229c1cbdd2d7de (diff)
downloadhercules-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/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 11d301ad0..5e7f86fc2 100644
--- a/src/map/intif.h
+++ b/src/map/intif.h
@@ -62,7 +62,7 @@ struct intif_interface {
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) (struct map_session_data *sd, const char *nick, const char *mes, int mes_len);
int (*wis_message_to_gm) (char *Wisp_name, int permission, char *mes);
int (*saveregistry) (struct map_session_data *sd);
int (*request_registry) (struct map_session_data *sd, int flag);
@@ -84,7 +84,7 @@ struct intif_interface {
int (*guild_memberinfoshort) (int guild_id, int account_id, int char_id, int online, int lv, int class_);
int (*guild_break) (int guild_id);
int (*guild_message) (int guild_id, int account_id, const char *mes, int len);
- int (*guild_change_gm) (int guild_id, const char* name, size_t len);
+ int (*guild_change_gm) (int guild_id, const char *name, int len);
int (*guild_change_basicinfo) (int guild_id, int type, const void *data, int len);
int (*guild_change_memberinfo) (int guild_id, int account_id, int char_id, int type, const void *data, int len);
int (*guild_position) (int guild_id, int idx, struct guild_position *p);