projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
834427d
)
lib: zlib: our putc() takes only one argument
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Mon, 28 Dec 2020 20:41:40 +0000
(21:41 +0100)
committer
Tom Rini
<trini@konsulko.com>
Sun, 17 Jan 2021 00:17:11 +0000
(19:17 -0500)
In contrast to the C99 standard [1] our putc() takes only one argument.
[1] ISO/IEC 9899:1999
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/zlib/deflate.c
patch
|
blob
|
history
diff --git
a/lib/zlib/deflate.c
b/lib/zlib/deflate.c
index 1fe58d5da6c7477abe4246fc5e03501bbd20eef4..63473359e456ee1460a6a445020bc9f4100833d3 100644
(file)
--- a/
lib/zlib/deflate.c
+++ b/
lib/zlib/deflate.c
@@
-1284,7
+1284,7
@@
local void check_match(s, start, match, length)
}
if (z_verbose > 1) {
fprintf(stderr,"\\[%d,%d]", start-match, length);
-
do { putc(s->window[start++], stderr
); } while (--length != 0);
+
do { putc(s->window[start++]
); } while (--length != 0);
}
}
#else