aboutsummaryrefslogtreecommitdiff
path: root/lib/zlib/deflate.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt2020-12-28 21:41:40 +0100
committerTom Rini2021-01-16 19:17:11 -0500
commit986c841c8b41ba3dc8d8bc4ce3802779cf69bfc0 (patch)
tree21a2d5df0b7caef36f962c36f9c4c1f213206359 /lib/zlib/deflate.c
parent834427d46365e5e76ec5b23eca40063f7881c493 (diff)
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/deflate.c')
-rw-r--r--lib/zlib/deflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zlib/deflate.c b/lib/zlib/deflate.c
index 1fe58d5da6c..63473359e45 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