From ce634571516b70edf75a9aea1ee3b63f278bc59a Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sun, 20 Jan 2002 15:07:56 +0000 Subject: [PATCH] Clear a warning src/mcastu.c(603) : warning C4244: 'initializing' : conversion from 'long ' to 'char ', possible loss of data M. Allison --- src/mcastu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcastu.c b/src/mcastu.c index 707570a76..752af2e23 100644 --- a/src/mcastu.c +++ b/src/mcastu.c @@ -600,7 +600,7 @@ int spellnum; shieldeff(u.ux, u.uy); You_feel("momentarily dizzy."); } else { - boolean oldprop = Confusion; + boolean oldprop = !!Confusion; dmg = (int)mtmp->m_lev; if (Half_spell_damage) dmg = (dmg + 1) / 2;