From f4aee10c1ae44e220e9e84ae47180758a4a77f4d Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 14 Jul 2016 03:41:02 +0200 Subject: Changed map_session_data::change_level_2nd and map_session_data::change_level_3rd to int Fixes several -Wsign-compare issues Signed-off-by: Haru --- src/map/atcommand.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index a0ecef9af..969f564ba 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -9295,8 +9295,9 @@ ACMD(costume){ } /* for debugging purposes (so users can easily provide us with debug info) */ /* should be trashed as soon as its no longer necessary */ -ACMD(skdebug) { - safesnprintf(atcmd_output, sizeof(atcmd_output),"second: %u; third: %u", sd->sktree.second, sd->sktree.third); +ACMD(skdebug) +{ + safesnprintf(atcmd_output, sizeof(atcmd_output),"second: %d; third: %d", sd->sktree.second, sd->sktree.third); clif->message(fd,atcmd_output); safesnprintf(atcmd_output, sizeof(atcmd_output),"pc_calc_skilltree_normalize_job: %d",pc->calc_skilltree_normalize_job(sd)); clif->message(fd,atcmd_output); -- cgit v1.2.3-70-g09d2