From 3ca74b36f558ce3373234d951571b831595e60e7 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 5 Jul 2005 06:32:54 +0000 Subject: Adjust to the change to DECIMAL_DIGIT_ACCUMULATE: its last arg is now a type, not a value. --- src/unexpand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/unexpand.c') diff --git a/src/unexpand.c b/src/unexpand.c index 9f06588f2..e347d654c 100644 --- a/src/unexpand.c +++ b/src/unexpand.c @@ -192,7 +192,7 @@ parse_tab_stops (char const *stops) } { /* Detect overflow. */ - if (!DECIMAL_DIGIT_ACCUMULATE (tabval, *stops - '0', UINTMAX_MAX)) + if (!DECIMAL_DIGIT_ACCUMULATE (tabval, *stops - '0', uintmax_t)) { size_t len = strspn (num_start, "0123456789"); char *bad_num = xstrndup (num_start, len); @@ -512,7 +512,7 @@ main (int argc, char **argv) tabval = 0; have_tabval = true; } - if (!DECIMAL_DIGIT_ACCUMULATE (tabval, c - '0', UINTMAX_MAX)) + if (!DECIMAL_DIGIT_ACCUMULATE (tabval, c - '0', uintmax_t)) error (EXIT_FAILURE, 0, _("tab stop value is too large")); break; } -- cgit v1.2.3