summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-05-29 11:28:29 +0200
committerJim Meyering <meyering@redhat.com>2011-05-29 12:16:11 +0200
commitd4aca64b533bcd7962476780c9636ae27136dd3e (patch)
treee0baf3f5c77cfb69de069ebd86d1edb7b9b65e54
parent31bbcc7abfdc476bf23da4a1911bda35910c9fe8 (diff)
downloadcoreutils-d4aca64b533bcd7962476780c9636ae27136dd3e.tar.xz
maint: placate -Wsign-compare when it's non-invasive
* src/stdbuf.c: Declare loop index to be unsigned.
-rw-r--r--src/stdbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdbuf.c b/src/stdbuf.c
index 607859ca1..2f66dd5ba 100644
--- a/src/stdbuf.c
+++ b/src/stdbuf.c
@@ -257,7 +257,7 @@ set_LD_PRELOAD (void)
static void
set_libstdbuf_options (void)
{
- int i;
+ unsigned int i;
for (i = 0; i < ARRAY_CARDINALITY (stdbuf); i++)
{