diff fraps.c @ 6374:3356be010cfe libavcodec

Add casts to avoid warnings: fraps.c:102: warning: passing argument 1 of ¡Æs->dsp.bswap_buf¡Ç from incompatible pointer type fraps.c:102: warning: passing argument 2 of ¡Æs->dsp.bswap_buf¡Ç from incompatible pointer type
author reimar
date Tue, 19 Feb 2008 21:42:10 +0000
parents d2af52426ef7
children e0cd9697ac6d
line wrap: on
line diff
--- a/fraps.c	Tue Feb 19 21:37:53 2008 +0000
+++ b/fraps.c	Tue Feb 19 21:42:10 2008 +0000
@@ -99,7 +99,7 @@
     /* 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++){