Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/external/gpl3/binutils.old/dist/zlib/uncompr.c,v rcsdiff: /ftp/cvs/cvsroot/src/external/gpl3/binutils.old/dist/zlib/uncompr.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1.1.1 retrieving revision 1.1.1.2 diff -u -p -r1.1.1.1 -r1.1.1.2 --- src/external/gpl3/binutils.old/dist/zlib/uncompr.c 2016/10/26 17:03:40 1.1.1.1 +++ src/external/gpl3/binutils.old/dist/zlib/uncompr.c 2018/04/14 15:37:38 1.1.1.2 @@ -3,7 +3,7 @@ * For conditions of distribution and use, see copyright notice in zlib.h */ -/* @(#) $Id: uncompr.c,v 1.1.1.1 2016/10/26 17:03:40 christos Exp $ */ +/* @(#) $Id: uncompr.c,v 1.1.1.2 2018/04/14 15:37:38 christos Exp $ */ #define ZLIB_INTERNAL #include "zlib.h" @@ -30,7 +30,7 @@ int ZEXPORT uncompress (dest, destLen, s 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;