projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9cfda6
)
maint: fix a new -Wpointer-sign gcc warning
author
Pádraig Brady
<P@draigBrady.com>
Tue, 16 Nov 2010 00:31:05 +0000
(
00:31
+0000)
committer
Pá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
patch
|
blob
|
history
diff --git
a/src/csplit.c
b/src/csplit.c
index
531e492
..
07c5c8c
100644
(file)
--- 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++;