changeset 31562:3ce8c7b9b925

Fix 'assignment from incompatible pointer type' warning. Patch by Eli Friedman, eli d friedman a gmail
author cehoyos
date Sat, 03 Jul 2010 09:58:13 +0000
parents 1b8ac7d80ad9
children 1474401afe45
files libswscale/swscale.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Sat Jul 03 01:02:47 2010 +0000
+++ b/libswscale/swscale.c	Sat Jul 03 09:58:13 2010 +0000
@@ -989,7 +989,7 @@
     }
 }
 
-static inline void rgb48ToY(uint8_t *dst, const uint8_t *src, int width,
+static inline void rgb48ToY(uint8_t *dst, const uint8_t *src, long width,
                             uint32_t *unused)
 {
     int i;
@@ -1004,7 +1004,7 @@
 
 static inline void rgb48ToUV(uint8_t *dstU, uint8_t *dstV,
                              const uint8_t *src1, const uint8_t *src2,
-                             int width, uint32_t *unused)
+                             long width, uint32_t *unused)
 {
     int i;
     assert(src1==src2);
@@ -1020,7 +1020,7 @@
 
 static inline void rgb48ToUV_half(uint8_t *dstU, uint8_t *dstV,
                                   const uint8_t *src1, const uint8_t *src2,
-                                  int width, uint32_t *unused)
+                                  long width, uint32_t *unused)
 {
     int i;
     assert(src1==src2);