]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
Fix checkpoint_flush_actions width typo
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Nov 2024 16:40:36 +0000 (09:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Nov 2024 06:47:23 +0000 (23:47 -0700)
* src/checkpoint.c (checkpoint_flush_actions): long → intmax_t.

src/checkpoint.c

index b2d217a4445d4cfffdcb6cfc864cb21fd16d004f..57c7b5a12b9c43c2d123e1f4ee405262deaff1dc 100644 (file)
@@ -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);