From: Ilya Leoshkevich Date: Tue, 10 Dec 2019 13:33:04 +0000 (+0100) Subject: s390: fix build failure with --with-dfltcc-deflate X-Git-Tag: 1.9.9-b1~378 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=fdf1593772089897beee7b752273a450db5d6423;p=thirdparty%2Fzlib-ng.git s390: fix build failure with --with-dfltcc-deflate Patch by Michael Munday (issue #477). --- diff --git a/arch/s390/dfltcc_deflate.c b/arch/s390/dfltcc_deflate.c index 3710dc055..454a0bb3a 100644 --- a/arch/s390/dfltcc_deflate.c +++ b/arch/s390/dfltcc_deflate.c @@ -79,7 +79,7 @@ static inline void send_eobs(PREFIX3(streamp) strm, const struct dfltcc_param_v0 { deflate_state *state = (deflate_state *)strm->state; - send_bits(state, bi_reverse(param->eobs >> (15 - param->eobl), param->eobl), param->eobl, s->bi_buf, s->bi_valid); + send_bits(state, bi_reverse(param->eobs >> (15 - param->eobl), param->eobl), param->eobl, state->bi_buf, state->bi_valid); flush_pending(strm); if (state->pending != 0) { /* The remaining data is located in pending_out[0:pending]. If someone