From 3b4455299f3c5c0f6d6032c21c15f2e011639749 Mon Sep 17 00:00:00 2001 From: Lance Date: Sun, 28 May 2006 03:24:03 +0000 Subject: - Suppressed compilation warnings (unsigned and signed mismatches) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6793 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 20dab2f63..b0b953827 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2747,7 +2747,7 @@ void battle_drain(TBL_PC *sd, TBL_PC* tsd, int rdamage, int ldamage, int race, i if (rhp || rsp) status_zap(&tsd->bl, rhp, rsp); if (rand()%1000 < sd->sp_vanish_rate) - status_percent_damage(&sd->bl, &tsd->bl, 0, sd->sp_vanish_per); + status_percent_damage(&sd->bl, &tsd->bl, 0, (unsigned char)sd->sp_vanish_per); } } /*========================================== -- cgit v1.2.3-60-g2f50