summaryrefslogtreecommitdiff
path: root/drivers/builtin_zlib/zlib/compress.c
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-07-23 13:54:43 +0200
committerGitHub <noreply@github.com>2016-07-23 13:54:43 +0200
commit1eefff283a961dbdd6365924d76db13023abdf68 (patch)
tree9729e85e84c2fb5c0d96a31b44820ac5c73b34b9 /drivers/builtin_zlib/zlib/compress.c
parente7884246ebf6546d6cb2560fc22a1311c66b6891 (diff)
parentc1ab343f02ee04b807087f28b33b4ac279d0fda6 (diff)
Merge pull request #5872 from akien-mga/pr-libraries-update
Update embedded libraries: rg_etc1 1.04, zlib 1.2.8, RtAudio 4.1.2
Diffstat (limited to 'drivers/builtin_zlib/zlib/compress.c')
-rw-r--r--drivers/builtin_zlib/zlib/compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/builtin_zlib/zlib/compress.c b/drivers/builtin_zlib/zlib/compress.c
index ea4dfbe9d7..6e9762676a 100644
--- a/drivers/builtin_zlib/zlib/compress.c
+++ b/drivers/builtin_zlib/zlib/compress.c
@@ -29,7 +29,7 @@ int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
z_stream stream;
int err;
- stream.next_in = (Bytef*)source;
+ stream.next_in = (z_const Bytef *)source;
stream.avail_in = (uInt)sourceLen;
#ifdef MAXSEG_64K
/* Check for source > 64K on 16-bit machine: */