summaryrefslogtreecommitdiff
path: root/src/map/pc.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/pc.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/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 670f7741a..113638912 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -11195,7 +11195,7 @@ void pc_scdata_received(struct map_session_data *sd) {
time_t exp_time = sd->expiration_time;
char tmpstr[1024];
strftime(tmpstr, sizeof(tmpstr) - 1, msg_sd(sd,501), localtime(&exp_time)); // "Your account time limit is: %d-%m-%Y %H:%M:%S."
- clif->wis_message(sd->fd, map->wisp_server_name, tmpstr, strlen(tmpstr)+1);
+ clif->wis_message(sd->fd, map->wisp_server_name, tmpstr, (int)strlen(tmpstr)+1);
pc->expire_check(sd);
}