diff options
author | Bardur Arantsson <bardur@scientician.net> | 2010-01-10 19:30:28 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2010-01-10 19:32:02 +0100 |
commit | 20087ac085b472a1238ac0ca78a2cd9d4e24c18d (patch) | |
tree | 5df1ecde8d61a979e58c329a3eab711581620aca /src/cmd7.c | |
parent | d324d9c0ac98e74db26e5dd5c6e379c1fc18cff3 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |