projects
/
rogue-pphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5ae529
)
Another 64 bit issue.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 7 Apr 2013 14:21:48 +0000
(16:21 +0200)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 7 Apr 2013 14:21:48 +0000
(16:21 +0200)
rip.c
patch
|
blob
|
history
diff --git
a/rip.c
b/rip.c
index 1d9d6744848219f297a6e5cf54fac4bae8632706..43240e10ec942898a3d261627d1859d2a8169ce9 100644
(file)
--- a/
rip.c
+++ b/
rip.c
@@
-198,7
+198,7
@@
char monst;
printf("Top Ten Adventurers:\nRank\tScore\tName\n");
\r
for (scp = top_ten; scp <= &top_ten[9]; scp++) {
\r
if (scp->sc_score) {
\r
- printf("%
ld\t%d\t%s: %s on level %d", scp - top_ten + 1
,
\r
+ printf("%
d\t%d\t%s: %s on level %d", (int)(scp - top_ten + 1)
,
\r
scp->sc_score, scp->sc_name, reason[scp->sc_flags],
\r
scp->sc_level);
\r
if (scp->sc_flags == 0) {
\r