Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-08 05:09:16 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-10-08 05:09:16 +0400
commitc5fdd0696ab5cd4dfe82d83b38a355d24dfa540c (patch)
tree00c0b7c743d83de9d1bc882e714ba1cc4e30c324 /libavcodec/tiff.c
parentbd2613a3220575297e4e6ddfdd9d8b921a83e75c (diff)
tiff: fix "assignment discards qualifiers from pointer target type" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/tiff.c')
-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;