# HG changeset patch # User reimar # Date 1203457330 0 # Node ID 3356be010cfe2afefe8d87ce12c583f095a46851 # Parent e56b22861426e110e81748815339df8feab51213 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 diff -r e56b22861426 -r 3356be010cfe fraps.c --- 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++){