From b8bd65eddaff5740e51740a8f8c2b27ec39dca46 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 26 Sep 2005 10:15:02 +0000 Subject: [PATCH] * modules/video_chroma/i420_rgb16.c: fixed compiler warnings. --- modules/video_chroma/i420_rgb16.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/video_chroma/i420_rgb16.c b/modules/video_chroma/i420_rgb16.c index 84107c2f5b..c7a2049daf 100644 --- a/modules/video_chroma/i420_rgb16.c +++ b/modules/video_chroma/i420_rgb16.c @@ -40,7 +40,8 @@ # include "i420_rgb_mmx.h" #endif -static void SetOffset( int, int, int, int, vlc_bool_t *, int *, int * ); +static void SetOffset( int, int, int, int, vlc_bool_t *, + unsigned int *, int * ); #if defined (MODULE_NAME_IS_i420_rgb) /***************************************************************************** @@ -63,7 +64,7 @@ void E_(I420_RGB16_dithering)( vout_thread_t *p_vout, picture_t *p_src, uint8_t *p_v = p_src->V_PIXELS; vlc_bool_t b_hscale; /* horizontal scaling type */ - int i_vscale; /* vertical scaling type */ + unsigned int i_vscale; /* vertical scaling type */ unsigned int i_x, i_y; /* horizontal and vertical indexes */ unsigned int i_real_y; /* y % 4 */ @@ -586,7 +587,7 @@ void E_(I420_RGB32)( vout_thread_t *p_vout, picture_t *p_src, *****************************************************************************/ static void SetOffset( int i_width, int i_height, int i_pic_width, int i_pic_height, vlc_bool_t *pb_hscale, - int *pi_vscale, int *p_offset ) + unsigned int *pi_vscale, int *p_offset ) { int i_x; /* x position in destination */ int i_scale_count; /* modulo counter */ -- 2.39.5