From f5b88f9e0e7868b96c089787cfeccf413d754b56 Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 20 Apr 2016 17:23:03 +0200 Subject: 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 --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/pc.c') 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); } -- cgit v1.2.3-70-g09d2