diff options
Diffstat (limited to 'drivers/builtin_zlib/zlib/compress.c')
-rw-r--r-- | drivers/builtin_zlib/zlib/compress.c | 2 |
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: */ |