summaryrefslogtreecommitdiff
path: root/src/map/intif.c
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.c
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.c')
-rw-r--r--src/map/intif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index 0b2f34ce2..05b1d7c29 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -231,7 +231,7 @@ int intif_main_message(struct map_session_data* sd, const char* message)
}
// The transmission of Wisp/Page to inter-server (player not found on this server)
-int intif_wis_message(struct map_session_data *sd, const char *nick, const char *mes, size_t mes_len)
+int intif_wis_message(struct map_session_data *sd, const char *nick, const char *mes, int mes_len)
{
if (intif->CheckForCharServer())
return 0;
@@ -660,7 +660,7 @@ int intif_guild_addmember(int guild_id,struct guild_member *m)
}
// Request a new leader for guild
-int intif_guild_change_gm(int guild_id, const char* name, size_t len)
+int intif_guild_change_gm(int guild_id, const char *name, int len)
{
if (intif->CheckForCharServer())
return 0;