Skip to content

Commit

Permalink
Merge pull request #4021 from pstef/dev
Browse files Browse the repository at this point in the history
Fix zlibWrapper build
  • Loading branch information
Cyan4973 authored Apr 9, 2024
2 parents 87af5fb + 71def59 commit 9f42fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zlibWrapper/gzwrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ local z_size_t gz_write(gz_statep state, voidpc buf, z_size_t len) {
z_size_t n = (unsigned)-1;
if (n > len)
n = len;
state.state->strm.avail_in = (z_uInt)n;
state.state->strm.avail_in = (uInt)n;
state.state->x.pos += n;
if (gz_comp(state, Z_NO_FLUSH) == -1)
return 0;
Expand Down

0 comments on commit 9f42fa0

Please sign in to comment.