tiff: fix "assignment discards qualifiers from pointer target type" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-10-08 03:09:16 +02:00
parent bd2613a322
commit c5fdd0696a

View File

@ -332,7 +332,7 @@ static int tiff_uncompress(uint8_t *dst, unsigned long *len, const uint8_t *src,
z_stream zstream = { 0 };
int zret;
zstream.next_in = src;
zstream.next_in = (uint8_t *)src;
zstream.avail_in = size;
zstream.next_out = dst;
zstream.avail_out = *len;