lib: zlib: our putc() takes only one argument
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 28 Dec 2020 20:41:40 +0000 (21:41 +0100)
committerTom 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

index 1fe58d5..6347335 100644 (file)
@@ -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