diff options
author | Matthias Klose <doko@ubuntu.com> | 2015-11-23 20:27:57 +0000 |
---|---|---|
committer | Matthias Klose <doko@gcc.gnu.org> | 2015-11-23 20:27:57 +0000 |
commit | cd9ec14217a566fa0ae12ccf34534cbb7680f5ab (patch) | |
tree | c0867a0d04452190fa29a7e38ad632c37d5221cd /zlib/inffast.c | |
parent | 4c93660449ea23e5eee1f8ce3e97129c7974b7fc (diff) | |
download | gcc-cd9ec14217a566fa0ae12ccf34534cbb7680f5ab.tar.gz |
2015-11-23 Matthias Klose <doko@ubuntu.com>
* Imported zlib 1.2.8; merged local changes.
From-SVN: r230774
Diffstat (limited to 'zlib/inffast.c')
-rw-r--r-- | zlib/inffast.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zlib/inffast.c b/zlib/inffast.c index 2f1d60b43b8..bda59ceb6a1 100644 --- a/zlib/inffast.c +++ b/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 */ |