From e4feddf5198f1c9d45a6c34a95b251df773ab6db Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 20 Apr 2016 15:40:19 +0200 Subject: Corrected the type of the 'length' argument of various broadcast-related functions - Variable types were changed to int - Corrects several warnings in VS2015 - Affected functions: `clif->broadcast()`, `clif->broadcast2()`, `intif->broadcast()`, `intif->broadcast2()` Signed-off-by: Haru --- src/map/duel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/duel.c') diff --git a/src/map/duel.c b/src/map/duel.c index c658ea3e3..86c218acd 100644 --- a/src/map/duel.c +++ b/src/map/duel.c @@ -134,7 +134,7 @@ void duel_invite(const unsigned int did, struct map_session_data* sd, struct map // "Blue -- Player %s invites you to PVP duel (@accept/@reject) --" sprintf(output, msg_sd(target_sd,374), sd->status.name); - clif->broadcast(&target_sd->bl, output, strlen(output)+1, BC_BLUE, SELF); + clif->broadcast(&target_sd->bl, output, (int)strlen(output)+1, BC_BLUE, SELF); } static int duel_leave_sub(struct map_session_data* sd, va_list va) -- cgit v1.2.3-60-g2f50