diff options
author | Mika Lindqvist <postmaster@raasu.org> | 2020-08-23 10:58:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-23 09:58:57 +0200 |
commit | 28e5e73f3427f3b80a3926f2564ae3ecb9309c72 (patch) | |
tree | acfa1d9ce46de78c86b07a6a46a0d0487a4ef245 /uncompr.c | |
parent | cbc3962b937315ccfb0108a6a96ee005328f467c (diff) |
Reintroduce support for ZLIB_CONST in compat mode. (#704)
* Reintroduce support for ZLIB_CONST in compat mode.
Diffstat (limited to 'uncompr.c')
-rw-r--r-- | uncompr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ int ZEXPORT PREFIX(uncompress2)(unsigned char *dest, z_size_t *destLen, const un dest = buf; } - stream.next_in = (const unsigned char *)source; + stream.next_in = (z_const unsigned char *)source; stream.avail_in = 0; stream.zalloc = NULL; stream.zfree = NULL; |