summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-10-10 09:48:07 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-10-10 09:48:07 +0000
commit8b130d7104a8f2ba88477f818217597175c9c828 (patch)
tree865eb9d0d8f2e37e094b74d516a8cb155246840d
parent46db9af30693089b3702c53113e75ad436f5387f (diff)
Fix format string warning in robots/score.c
-rw-r--r--games/robots/score.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/robots/score.c b/games/robots/score.c
index c5d81177509..fe53abb7aaa 100644
--- a/games/robots/score.c
+++ b/games/robots/score.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: score.c,v 1.16 2019/06/28 13:32:52 deraadt Exp $ */
+/* $OpenBSD: score.c,v 1.17 2023/10/10 09:48:06 tb Exp $ */
/* $NetBSD: score.c,v 1.3 1995/04/22 10:09:12 cgd Exp $ */
/*
@@ -112,7 +112,7 @@ score(int score_wfd)
move((scp - Top) + 1, 6);
if (!done_show && scp->s_uid == uid && scp->s_score == Score)
standout();
- printw(" %d\t%d\t%-*s ", (scp - Top) + 1, scp->s_score,
+ printw(" %td\t%d\t%-*s ", (scp - Top) + 1, scp->s_score,
(int)(sizeof scp->s_name), scp->s_name);
if (!done_show && scp->s_uid == uid && scp->s_score == Score) {
standend();