summaryrefslogtreecommitdiff
path: root/src/spells4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spells4.c')
-rw-r--r--src/spells4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spells4.c b/src/spells4.c
index e58ac4ea..f3809b7b 100644
--- a/src/spells4.c
+++ b/src/spells4.c
@@ -520,7 +520,7 @@ int print_spell(cptr label_, byte color, int y, s32b s)
if (!na)
{
- sprintf(level_str, "%3d", level);
+ sprintf(level_str, "%3d", (int) level);
}
sprintf(buf, "%s%-20s%-16s %s %4d %3d%% %s",
@@ -529,7 +529,7 @@ int print_spell(cptr label_, byte color, int y, s32b s)
sch_str,
level_str,
get_mana(s),
- spell_chance(s),
+ (int) spell_chance(s),
spell_info);
c_prt(color, buf, y, 0);