1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-30 03:08:20 +00:00

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.
This commit is contained in:
Greg Alexander 2019-05-25 22:51:15 -04:00
parent cec5e52c7e
commit ccc93ed0da

View File

@ -1525,7 +1525,7 @@ z_streamp strm;
{ {
struct inflate_state FAR *state; 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; state = (struct inflate_state FAR *)strm->state;
return ((long)(state->back) << 16) + return ((long)(state->back) << 16) +
(state->mode == COPY ? state->length : (state->mode == COPY ? state->length :