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>
This commit is contained in:
Heinrich Schuchardt 2020-12-28 21:41:40 +01:00 committed by Tom Rini
parent 834427d463
commit 986c841c8b

View File

@ -1284,7 +1284,7 @@ local void check_match(s, start, match, length)
} }
if (z_verbose > 1) { if (z_verbose > 1) {
fprintf(stderr,"\\[%d,%d]", start-match, length); 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 #else