diff options
| author | Xin LI <delphij@FreeBSD.org> | 2013-05-03 22:32:49 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2013-05-03 22:32:49 +0000 |
| commit | f1ff077ba4aaaa6b3b74ee72e5b95f34e79da9a5 (patch) | |
| tree | 62888a5274d470784bb7431e507f40f39e4e00eb /compress.c | |
| parent | 11598cceda4aa6b2db006d9dc3b7c80e9e727174 (diff) | |
Notes
Diffstat (limited to 'compress.c')
| -rw-r--r-- | compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compress.c b/compress.c index ea4dfbe9d7b3..6e9762676a0d 100644 --- a/compress.c +++ b/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: */ |
