]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: placate -Wsign-compare when it's non-invasive
authorJim Meyering <meyering@redhat.com>
Sun, 29 May 2011 09:28:29 +0000 (11:28 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 29 May 2011 10:16:11 +0000 (12:16 +0200)
* src/stdbuf.c: Declare loop index to be unsigned.

src/stdbuf.c

index 607859ca1616c571423eeda22cecfb3d9af587a6..2f66dd5ba5f36d8f70b669e5b3d54378857e2e06 100644 (file)
@@ -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++)
     {