summaryrefslogtreecommitdiff
path: root/inffast.c
diff options
context:
space:
mode:
authorMika Lindqvist <postmaster@raasu.org>2020-08-23 10:58:57 +0300
committerGitHub <noreply@github.com>2020-08-23 09:58:57 +0200
commit28e5e73f3427f3b80a3926f2564ae3ecb9309c72 (patch)
treeacfa1d9ce46de78c86b07a6a46a0d0487a4ef245 /inffast.c
parentcbc3962b937315ccfb0108a6a96ee005328f467c (diff)
Reintroduce support for ZLIB_CONST in compat mode. (#704)
* Reintroduce support for ZLIB_CONST in compat mode.
Diffstat (limited to 'inffast.c')
-rw-r--r--inffast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inffast.c b/inffast.c
index 2953e09..dd904a4 100644
--- a/inffast.c
+++ b/inffast.c
@@ -65,7 +65,7 @@ static inline uint64_t load_64_bits(const unsigned char *in, unsigned bits) {
void ZLIB_INTERNAL zng_inflate_fast(PREFIX3(stream) *strm, unsigned long start) {
/* start: inflate()'s starting value for strm->avail_out */
struct inflate_state *state;
- const unsigned char *in; /* local strm->next_in */
+ z_const unsigned char *in; /* local strm->next_in */
const unsigned char *last; /* have enough input while in < last */
unsigned char *out; /* local strm->next_out */
unsigned char *beg; /* inflate()'s initial strm->next_out */