changeset 27800:3c2c696294f1

Silence the following GCC warning: libswscale/swscale.c: In function ¡Æpal2rgbWrapper¡Ç: libswscale/swscale.c:1744: warning: passing argument 4 of ¡Æconv¡Ç from incompatible pointer type
author vitor
date Sun, 26 Oct 2008 15:41:11 +0000
parents 898b89a6dab1
children de9d0f9da2cc
files libswscale/swscale.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Sun Oct 26 09:49:33 2008 +0000
+++ b/libswscale/swscale.c	Sun Oct 26 15:41:11 2008 +0000
@@ -1741,7 +1741,7 @@
 
 
     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];
     }