From: SHIRAKATA Kentaro Date: Fri, 22 Oct 2021 16:07:40 +0000 (+0900) Subject: use %lu for unsigned long X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bfd79f5c9d73625ad03f969d4be906458b8570df;p=nethack use %lu for unsigned long `curr->tid` is unsigned long, so use `%lu`. --- diff --git a/src/timeout.c b/src/timeout.c index 630b1b434..fec6a0c33 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -1874,10 +1874,10 @@ timer_sanity_check(void) y = (xchar) (where & 0xFFFF); if (!isok(x, y)) { - impossible("timer sanity: spot timer %d at <%d,%d>", + impossible("timer sanity: spot timer %lu at <%d,%d>", curr->tid, x, y); } else if (curr->func_index == MELT_ICE_AWAY && !is_ice(x, y)) { - impossible("timer sanity: melt timer %d on non-ice %d <%d,%d>", + impossible("timer sanity: melt timer %lu on non-ice %d <%d,%d>", curr->tid, levl[x][y].typ, x, y); } }