From f4c8df3d37c05d00d1dbc0d87b566f837a7db941 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 15 Sep 2002 07:23:08 +0000 Subject: [PATCH] (get_format_width): Add cast to avoid warning about `signed and unsigned type in conditional expression'. --- src/csplit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/csplit.c b/src/csplit.c index f8c179368..df8546d7a 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1249,7 +1249,7 @@ get_format_width (char **format_ptr) allow for enough octal digits to represent the value of LONG_MAX. */ count = ((*format_ptr == start) ? bytes_to_octal_digits[sizeof (long)] - : atoi (start)); + : (unsigned) atoi (start)); **format_ptr = ch_save; return count; } -- 2.34.1