use %lu for unsigned long

`curr->tid` is unsigned long, so use `%lu`.
This commit is contained in:
SHIRAKATA Kentaro
2021-10-23 01:07:40 +09:00
parent 0617410ff3
commit bfd79f5c9d
+2 -2
View File
@@ -1874,10 +1874,10 @@ timer_sanity_check(void)
y = (xchar) (where & 0xFFFF); y = (xchar) (where & 0xFFFF);
if (!isok(x, y)) { 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); curr->tid, x, y);
} else if (curr->func_index == MELT_ICE_AWAY && !is_ice(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); curr->tid, levl[x][y].typ, x, y);
} }
} }