Import zlib 1.2.8 with local change merged in.
[deliverable/binutils-gdb.git] / zlib / uncompr.c
index 8a2e1f97194f18bb537da65f9642573b5399c71e..cf2e3a0486b8135cdda058ac7f668636c736d95e 100644 (file)
@@ -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;
This page took 0.024524 seconds and 4 git commands to generate.