From 0e949ba4cd31aa3e444e37c80b9777b63f79cfb1 Mon Sep 17 00:00:00 2001 From: Gildas Bazin Date: Thu, 5 Aug 2004 14:05:51 +0000 Subject: [PATCH] * modules/video_filter/blend.c: do not compare signed and unsigned. --- modules/video_filter/blend.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/video_filter/blend.c b/modules/video_filter/blend.c index 243a480870..abc0fde931 100644 --- a/modules/video_filter/blend.c +++ b/modules/video_filter/blend.c @@ -119,11 +119,11 @@ static void Blend( filter_t *p_filter, picture_t *p_dst, { int i_width, i_height; - i_width = __MIN( p_filter->fmt_out.video.i_visible_width - i_x_offset, - p_filter->fmt_in.video.i_visible_width ); + i_width = __MIN((int)p_filter->fmt_out.video.i_visible_width - i_x_offset, + (int)p_filter->fmt_in.video.i_visible_width); - i_height = __MIN( p_filter->fmt_out.video.i_visible_height - i_y_offset, - p_filter->fmt_in.video.i_visible_height ); + i_height = __MIN((int)p_filter->fmt_out.video.i_visible_height -i_y_offset, + (int)p_filter->fmt_in.video.i_visible_height); if( i_width <= 0 || i_height <= 0 ) return; -- 2.39.2