summaryrefslogtreecommitdiffstats
path: root/lib/zlib/inffast.c
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-09 00:34:31 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-07-10 00:06:23 +0200
commit5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d (patch)
tree88a9dda6136c596d1ac48063e7f05b7aec5561a8 /lib/zlib/inffast.c
parentNetwork: Fixed ServerHandle's address formatting. (diff)
downloadcuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.tar
cuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.tar.gz
cuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.tar.bz2
cuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.tar.lz
cuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.tar.xz
cuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.tar.zst
cuberite-5a3c3447b7d7957e3ccfa7e3b09ca83e3637ea1d.zip
Diffstat (limited to '')
-rw-r--r--lib/zlib/inffast.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/zlib/inffast.c b/lib/zlib/inffast.c
index 2f1d60b43..bda59ceb6 100644
--- a/lib/zlib/inffast.c
+++ b/lib/zlib/inffast.c
@@ -1,5 +1,5 @@
/* inffast.c -- fast decoding
- * Copyright (C) 1995-2008, 2010 Mark Adler
+ * Copyright (C) 1995-2008, 2010, 2013 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@ -69,8 +69,8 @@ z_streamp strm;
unsigned start; /* inflate()'s starting value for strm->avail_out */
{
struct inflate_state FAR *state;
- unsigned char FAR *in; /* local strm->next_in */
- unsigned char FAR *last; /* while in < last, enough input available */
+ z_const unsigned char FAR *in; /* local strm->next_in */
+ z_const unsigned char FAR *last; /* have enough input while in < last */
unsigned char FAR *out; /* local strm->next_out */
unsigned char FAR *beg; /* inflate()'s initial strm->next_out */
unsigned char FAR *end; /* while out < end, enough space available */