changeset 26915:0348d37f5933

cast to correct type, suppress warning
author bcoudurier
date Sun, 01 Jun 2008 03:34:39 +0000
parents f910db69b343
children 03e1725b5842
files libswscale/swscale.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Sun Jun 01 03:28:15 2008 +0000
+++ b/libswscale/swscale.c	Sun Jun 01 03:34:39 2008 +0000
@@ -1848,7 +1848,7 @@
     int y=      srcSliceY;
     int height= srcSliceH;
     int i, j;
-    uint16_t *srcPtr= src[0];
+    uint16_t *srcPtr= (uint16_t*)src[0];
     uint16_t *dstPtr= dst[0] + dstStride[0]*y/2;
     for (i=0; i<height; i++)
     {