From: keni Date: Sat, 5 Mar 2011 20:40:46 +0000 (+0000) Subject: another compiler warning X-Git-Tag: MOVE2GIT~252 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b480adc5ee7fc3002d4c44a4e8694d823eb183c8;p=nethack another compiler warning --- diff --git a/src/zap.c b/src/zap.c index 5e20e6c70..8c41df96e 100644 --- a/src/zap.c +++ b/src/zap.c @@ -4670,7 +4670,7 @@ retry: if (!otmp) { pline("Nothing fitting that description exists in the game."); if (++tries < MAXWISHTRY) goto retry; - pline(thats_enough_tries); + pline("%s", thats_enough_tries); otmp = readobjnam((char *)0, (struct obj *)0); if (!otmp) return; /* for safety; should never happen */ } else if (otmp == ¬hing) {