diff libswscale/colorspace-test.c @ 31096:0a999f052474

Use int instead of long to pass width parameters in non-public functions. long was being incorrectly used as an x86-sized register, both for 32 and 64 bits, but this is not the case in win64.
author ramiro
date Tue, 11 May 2010 00:36:34 +0000
parents 3e7ffd70b12b
children 1f7d0e9e2ebf
line wrap: on
line diff
--- a/libswscale/colorspace-test.c	Mon May 10 23:39:16 2010 +0000
+++ b/libswscale/colorspace-test.c	Tue May 11 00:36:34 2010 +0000
@@ -79,7 +79,7 @@
             int src_bpp;
             int dst_bpp;
             const char *name;
-            void (*func)(const uint8_t *src, uint8_t *dst, long src_size);
+            void (*func)(const uint8_t *src, uint8_t *dst, int src_size);
         } func_info[] = {
             FUNC(2, 2, rgb15to16),
             FUNC(2, 3, rgb15to24),