diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-28 21:41:40 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-16 19:17:11 -0500 |
commit | 986c841c8b41ba3dc8d8bc4ce3802779cf69bfc0 (patch) | |
tree | 21a2d5df0b7caef36f962c36f9c4c1f213206359 /lib/zlib | |
parent | 834427d46365e5e76ec5b23eca40063f7881c493 (diff) | |
download | u-boot-986c841c8b41ba3dc8d8bc4ce3802779cf69bfc0.tar.gz u-boot-986c841c8b41ba3dc8d8bc4ce3802779cf69bfc0.tar.bz2 u-boot-986c841c8b41ba3dc8d8bc4ce3802779cf69bfc0.zip |
lib: zlib: our putc() takes only one argument
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>
Diffstat (limited to 'lib/zlib')
-rw-r--r-- | lib/zlib/deflate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zlib/deflate.c b/lib/zlib/deflate.c index 1fe58d5da6..63473359e4 100644 --- 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 |