From c5fdd0696ab5cd4dfe82d83b38a355d24dfa540c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 8 Oct 2012 03:09:16 +0200 Subject: [PATCH] tiff: fix "assignment discards qualifiers from pointer target type" warning Signed-off-by: Michael Niedermayer --- libavcodec/tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;