summaryrefslogtreecommitdiffstats
path: root/Modules/zlib/inffast.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-10-21 10:03:09 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-10-21 10:03:09 (GMT)
commitc20bcde58dc2ed770900ab553ac663f2f1212fc2 (patch)
tree05eb7cad3054f3c5b8e557d40ef97bce5a416026 /Modules/zlib/inffast.c
parent3ac1eb16d5c4b779da38895597ee5d7caf3d22bd (diff)
downloadcpython-c20bcde58dc2ed770900ab553ac663f2f1212fc2.zip
cpython-c20bcde58dc2ed770900ab553ac663f2f1212fc2.tar.gz
cpython-c20bcde58dc2ed770900ab553ac663f2f1212fc2.tar.bz2
Issue #18527: Upgrade internal copy of zlib to 1.2.8
Diffstat (limited to 'Modules/zlib/inffast.c')
-rw-r--r--Modules/zlib/inffast.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/zlib/inffast.c b/Modules/zlib/inffast.c
index 2f1d60b..bda59ce 100644
--- a/Modules/zlib/inffast.c
+++ b/Modules/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 */