From ed339a8b358b0e4ec823e8de33d09eccce4b9e13 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 16 Mar 2015 16:32:23 +0000 Subject: Update bundled zlib from 1.2.5 to 1.2.8 (latest version as of Mar 12, 2015). Source: http://zlib.net/ Current release: zlib 1.2.8 April 28, 2013. Update note: not all files included in zlib are also included in FLTK's zlib version. However, there are only two files that are different from the original zlib versions: - zlib/CMakeLists.txt - zlib/Makefile git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- zlib/uncompr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zlib/uncompr.c') diff --git a/zlib/uncompr.c b/zlib/uncompr.c index ad98be3a5..242e9493d 100644 --- a/zlib/uncompr.c +++ b/zlib/uncompr.c @@ -30,7 +30,7 @@ int ZEXPORT uncompress (dest, destLen, source, sourceLen) z_stream stream; int err; - stream.next_in = (Bytef*)source; + stream.next_in = (z_const Bytef *)source; stream.avail_in = (uInt)sourceLen; /* Check for source > 64K on 16-bit machine: */ if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; -- cgit v1.2.3