Silence GCC warning
authorVitor Sessak <vitor1001@gmail.com>
Sun, 26 Oct 2008 15:41:11 +0000 (15:41 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Sun, 26 Oct 2008 15:41:11 +0000 (15:41 +0000)
Originally committed as revision 27834 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale.c

index 62c0548..a399ee9 100644 (file)
@@ -1741,7 +1741,7 @@ static int pal2rgbWrapper(SwsContext *c, uint8_t* src[], int srcStride[], int sr
 
 
     for (i=0; i<srcSliceH; i++) {
-        conv(srcPtr, dstPtr, c->srcW, c->pal_rgb);
+        conv(srcPtr, dstPtr, c->srcW, (uint8_t *) c->pal_rgb);
         srcPtr+= srcStride[0];
         dstPtr+= dstStride[0];
     }