summaryrefslogtreecommitdiff
path: root/src/spells4.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-23 07:29:54 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-23 07:33:13 +0200
commit2b6c56c7520a7d4ddae74067b93e31f28b999357 (patch)
tree799ec0f6bb48580ecfebb47b9ad79667024390db /src/spells4.c
parent027c9b6900fff8174b0d8cbd30f998f2ac0d64c5 (diff)
Fix 32-bit/64-bit inconsistencies.
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);