summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index b0b953827..71c5c8411 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1614,7 +1614,7 @@ static struct Damage battle_calc_weapon_attack(
if (!flag.idef || !flag.idef2)
{ //Defense reduction
short vit_def;
- char def1 = (char)status_get_def(target); //Don't use tstatus->def1 due to skill timer reductions.
+ signed char def1 = (signed char)status_get_def(target); //Don't use tstatus->def1 due to skill timer reductions.
short def2 = (short)tstatus->def2;
if(battle_config.vit_penalty_type)
{