Skip to content

Commit

Permalink
comp.c: silence compiler warnings 1
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Mar 26, 2023
1 parent bd078e1 commit f677e3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/comp.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,11 @@ comp_method_zlib_comp(LIBSSH2_SESSION *session,
void **abstract)
{
z_stream *strm = *abstract;
int out_maxlen = *dest_len;
uInt out_maxlen = (uInt)*dest_len;
int status;

strm->next_in = (unsigned char *) src;
strm->avail_in = src_len;
strm->avail_in = (uInt)src_len;
strm->next_out = dest;
strm->avail_out = out_maxlen;

Expand Down

0 comments on commit f677e3d

Please sign in to comment.