summaryrefslogtreecommitdiff
path: root/src/cmd7.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2010-01-10 19:30:28 +0100
committerBardur Arantsson <bardur@scientician.net>2010-01-10 19:32:02 +0100
commit20087ac085b472a1238ac0ca78a2cd9d4e24c18d (patch)
tree5df1ecde8d61a979e58c329a3eab711581620aca /src/cmd7.c
parentd324d9c0ac98e74db26e5dd5c6e379c1fc18cff3 (diff)
Fixes for 64 bit compatibility.
- Fix skill value display in character dump on 64 bit machines. - Fix format strings and add casts to *printf() invocations.
Diffstat (limited to 'src/cmd7.c')
-rw-r--r--src/cmd7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd7.c b/src/cmd7.c
index 123822a6..a6ae232f 100644
--- a/src/cmd7.c
+++ b/src/cmd7.c
@@ -1279,7 +1279,7 @@ int show_flags(byte group, int pval)
sprintf(ttt, "%c) %s (exp %ld)",
(items < 26) ? I2A(items) : ('0' + items - 26),
al_name + a_select_flags[i].desc,
- a_select_flags[i].xp);
+ (long int) a_select_flags[i].xp);
/* Note: Somebody is VERY clever, and it wasn't me. Text printed as
* TERM_DARK is actually printed as TERM_BLUE *SPACES* to prevent the