]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: fix a new -Wpointer-sign gcc warning
authorPádraig Brady <P@draigBrady.com>
Tue, 16 Nov 2010 00:31:05 +0000 (00:31 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 16 Nov 2010 00:38:12 +0000 (00:38 +0000)
* src/csplit.c (max_out): Fix a new warning introduced with
commit 6568b173, 2010-11-10, "csplit: do not rely on..."

src/csplit.c

index 531e492edad6243f2c3277b79d16742609b11810..07c5c8c572ae2ed4920b537335a5d65a3dc38dfc 100644 (file)
@@ -1275,7 +1275,7 @@ max_out (char *format)
           error (EXIT_FAILURE, 0,
                  _("too many %% conversion specifications in suffix"));
         percent = true;
-        unsigned int flags;
+        int flags;
         f += get_format_flags (f, &flags);
         while (ISDIGIT (*f))
           f++;