summaryrefslogtreecommitdiff
path: root/src/map/guild.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/guild.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/guild.c')
-rw-r--r--src/map/guild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index a231ebd9b..1929808ca 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -1829,7 +1829,7 @@ int guild_gm_change(int guild_id, struct map_session_data *sd)
return 0;
//Notify servers that master has changed.
- intif->guild_change_gm(guild_id, sd->status.name, strlen(sd->status.name)+1);
+ intif->guild_change_gm(guild_id, sd->status.name, (int)strlen(sd->status.name)+1);
return 1;
}