From 721052e981c4181eea9d167507ea2dd9c7ede4e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Tue, 19 Feb 2008 21:42:10 +0000 Subject: [PATCH] =?UTF-8?q?Add=20casts=20to=20avoid=20warnings:=20fraps.c:?= =?UTF-8?q?102:=20warning:=20passing=20argument=201=20of=20=E2=80=98s->dsp?= =?UTF-8?q?.bswap=5Fbuf=E2=80=99=20from=20incompatible=20pointer=20type=20?= =?UTF-8?q?fraps.c:102:=20warning:=20passing=20argument=202=20of=20?= =?UTF-8?q?=E2=80=98s->dsp.bswap=5Fbuf=E2=80=99=20from=20incompatible=20po?= =?UTF-8?q?inter=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 12148 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/fraps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c index 6043a23646..b7db219c99 100644 --- a/libavcodec/fraps.c +++ b/libavcodec/fraps.c @@ -99,7 +99,7 @@ static int fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int w, /* we have built Huffman table and are ready to decode plane */ /* convert bits so they may be used by standard bitreader */ - s->dsp.bswap_buf(s->tmpbuf, src, size >> 2); + s->dsp.bswap_buf((uint32_t *)s->tmpbuf, (const uint32_t *)src, size >> 2); init_get_bits(&gb, s->tmpbuf, size * 8); for(j = 0; j < h; j++){