summaryrefslogtreecommitdiff
path: root/src/cmd7.c
diff options
context:
space:
mode:
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