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 531e492..07c5c8c 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++;