From 7b22b2ac9aec39574258cabfc45fb426ff7254f4 Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Sun, 7 Apr 2013 16:21:48 +0200 Subject: [PATCH] Another 64 bit issue. --- rip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2