summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-09-15 07:23:08 +0000
committerJim Meyering <jim@meyering.net>2002-09-15 07:23:08 +0000
commitf4c8df3d37c05d00d1dbc0d87b566f837a7db941 (patch)
tree41a863eab15e3b27a480d502a554904c3c9af4f3 /src
parent165e561cf5dd95e6252cd47c7483a4412681677f (diff)
downloadcoreutils-f4c8df3d37c05d00d1dbc0d87b566f837a7db941.tar.xz
(get_format_width): Add cast to avoid
warning about `signed and unsigned type in conditional expression'.
Diffstat (limited to 'src')
-rw-r--r--src/csplit.c2
1 files changed, 1 insertions, 1 deletions
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;
}