diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2024-02-09 16:44:15 -0800 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2024-02-09 20:11:18 -0800 |
| commit | 7a7202de3568522dfc75a455927ccbd7faf63411 (patch) | |
| tree | ace9f2f7f4cb66b62071179a91bd93441cc4c41c | |
| parent | 3c13497a61c192dd255c280e73b806ed27ba8a0a (diff) | |
| download | zlib-7a7202de3568522dfc75a455927ccbd7faf63411.tar.gz zlib-7a7202de3568522dfc75a455927ccbd7faf63411.tar.bz2 zlib-7a7202de3568522dfc75a455927ccbd7faf63411.zip | |
Correct a variable type in deflate.c.
| -rw-r--r-- | deflate.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1635,7 +1635,8 @@ local block_state deflate_stored(deflate_state *s, int flush) { | |||
| 1635 | * possible. If flushing, copy the remaining available input to next_out as | 1635 | * possible. If flushing, copy the remaining available input to next_out as |
| 1636 | * stored blocks, if there is enough space. | 1636 | * stored blocks, if there is enough space. |
| 1637 | */ | 1637 | */ |
| 1638 | unsigned len, left, have, last = 0; | 1638 | int last = 0; |
| 1639 | unsigned len, left, have; | ||
| 1639 | unsigned used = s->strm->avail_in; | 1640 | unsigned used = s->strm->avail_in; |
| 1640 | do { | 1641 | do { |
| 1641 | /* Set len to the maximum size block that we can copy directly with the | 1642 | /* Set len to the maximum size block that we can copy directly with the |
