summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-08 03:09:16 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-08 03:09:16 +0200
commitc5fdd0696ab5cd4dfe82d83b38a355d24dfa540c (patch)
tree00c0b7c743d83de9d1bc882e714ba1cc4e30c324
parentbd2613a3220575297e4e6ddfdd9d8b921a83e75c (diff)
downloadffmpeg-c5fdd0696ab5cd4dfe82d83b38a355d24dfa540c.tar.gz
tiff: fix "assignment discards qualifiers from pointer target type" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/tiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 579bd0d5f7..351504b4d1 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -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;