summaryrefslogtreecommitdiff
path: root/src/powers.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-03-26 21:36:30 +0100
committerBardur Arantsson <bardur@scientician.net>2013-09-27 14:46:42 +0200
commit27dfc9125b6fff1ec4dc869f6f644c45ec31d74f (patch)
tree10326d817fda0263243a9ecec7a963bd3cf34efc /src/powers.c
parent2555c9c470fc19b77c24d3e534670c8e3904f186 (diff)
Fix format strings to avoid casts
This gets rid of old-style casts for C++ conversion
Diffstat (limited to 'src/powers.c')
-rw-r--r--src/powers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powers.c b/src/powers.c
index 7001a859..d6ecdecf 100644
--- a/src/powers.c
+++ b/src/powers.c
@@ -226,7 +226,7 @@ static void power_activate(int power)
else o_ptr = &o_list[0 - idx];
/* Appraise it */
- sprintf(value, "%i au", (int)object_value(o_ptr));
+ sprintf(value, FMTs32b " au", object_value(o_ptr));
/* Inscribe the value */
/* Get the original inscription */