summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-01-30 09:45:13 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2023-01-30 09:58:54 -0800
commit5c359da03673e2ed6a396631c6e2cc6fa68ab509 (patch)
tree56b433fcfe9d5f4425c613d63a918028cb9614c9
parent8c802c5078855798ece5d0859e2c779fa059954a (diff)
downloadsed-5c359da03673e2ed6a396631c6e2cc6fa68ab509.tar.gz
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
-rw-r--r--sed/sed.h2
1 files changed, 1 insertions, 1 deletions
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;