From 5c359da03673e2ed6a396631c6e2cc6fa68ab509 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 30 Jan 2023 09:45:13 -0800 Subject: sed: fix int width in decl * sed/sed.h (lcmd_out_line_len): Declare intmax_t, not idx_t. Problem reported by Bruno Haible in: https://lists.gnu.org/r/sed-devel/2023-01/msg00001.html --- sed/sed.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sed/sed.h b/sed/sed.h index b904fca..dda2f08 100644 --- a/sed/sed.h +++ b/sed/sed.h @@ -239,7 +239,7 @@ extern bool follow_symlinks; extern enum posixicity_types posixicity; /* How long should the 'l' command's output line be? */ -extern idx_t lcmd_out_line_len; +extern intmax_t lcmd_out_line_len; /* How do we edit files in-place? (we don't if NULL) */ extern char *in_place_extension; -- cgit v1.2.1