From: Jim Meyering Date: Sun, 29 May 2011 09:28:29 +0000 (+0200) Subject: maint: placate -Wsign-compare when it's non-invasive X-Git-Tag: v8.13~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4aca64b533bcd7962476780c9636ae27136dd3e;p=thirdparty%2Fcoreutils.git maint: placate -Wsign-compare when it's non-invasive * src/stdbuf.c: Declare loop index to be unsigned. --- diff --git a/src/stdbuf.c b/src/stdbuf.c index 607859ca16..2f66dd5ba5 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++) {