From: Joe Wreschnig Date: Sun, 7 Apr 2013 14:21:48 +0000 (+0200) Subject: Another 64 bit issue. X-Git-Url: https://git.yukkurigames.com/?a=commitdiff_plain;h=7b22b2ac9aec39574258cabfc45fb426ff7254f4;p=rogue-pphs.git Another 64 bit issue. --- diff --git a/rip.c b/rip.c index 1d9d674..43240e1 100644 --- a/rip.c +++ b/rip.c @@ -198,7 +198,7 @@ char monst; printf("Top Ten Adventurers:\nRank\tScore\tName\n"); for (scp = top_ten; scp <= &top_ten[9]; scp++) { if (scp->sc_score) { - printf("%ld\t%d\t%s: %s on level %d", scp - top_ten + 1, + printf("%d\t%d\t%s: %s on level %d", (int)(scp - top_ten + 1), scp->sc_score, scp->sc_name, reason[scp->sc_flags], scp->sc_level); if (scp->sc_flags == 0) {