From 2339c9106b830a3a8ba53e143dd49ecab8b18d58 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 1 Nov 2024 09:40:36 -0700 Subject: [PATCH] Fix checkpoint_flush_actions width typo MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * src/checkpoint.c (checkpoint_flush_actions): long → intmax_t. --- src/checkpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/checkpoint.c b/src/checkpoint.c index b2d217a4..57c7b5a1 100644 --- a/src/checkpoint.c +++ b/src/checkpoint.c @@ -432,7 +432,7 @@ checkpoint_flush_actions (void) case cop_ttyout: if (tty && tty_cleanup) { - long w = getwidth (tty); + intmax_t w = getwidth (tty); while (w--) fputc (' ', tty); fputc ('\r', tty); -- 2.47.2