summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2010-11-16 00:31:05 +0000
committerPádraig Brady <P@draigBrady.com>2010-11-16 00:38:12 +0000
commit0d1ba34494e5e5e21e205f2e86349afeb69ca84d (patch)
tree298d9701ea5603a46d64323bda3ec73c05387a6f
parentf9cfda6ad21b3d89296158d71accc61c46bfd29f (diff)
downloadcoreutils-0d1ba34494e5e5e21e205f2e86349afeb69ca84d.tar.xz
maint: fix a new -Wpointer-sign gcc warning
* src/csplit.c (max_out): Fix a new warning introduced with commit 6568b173, 2010-11-10, "csplit: do not rely on..."
-rw-r--r--src/csplit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csplit.c b/src/csplit.c
index 531e492ed..07c5c8c57 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -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++;