From ccc93ed0dae29e3c744839a7124d1fea75106096 Mon Sep 17 00:00:00 2001 From: Greg Alexander Date: Sat, 25 May 2019 22:51:15 -0400 Subject: [PATCH] Fix one warning... A lot of warnings remain in dropbear, but hopefully the dropbear update will address them so let's not touch it for now. --- rsync/zlib/inflate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsync/zlib/inflate.c b/rsync/zlib/inflate.c index a755573..4cdb8b9 100644 --- a/rsync/zlib/inflate.c +++ b/rsync/zlib/inflate.c @@ -1525,7 +1525,7 @@ z_streamp strm; { struct inflate_state FAR *state; - if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16; + if (strm == Z_NULL || strm->state == Z_NULL) return ~0xffffL; state = (struct inflate_state FAR *)strm->state; return ((long)(state->back) << 16) + (state->mode == COPY ? state->length :