]> git.sesse.net Git - vlc/commitdiff
* modules/video_filter/blend.c: do not compare signed and unsigned.
authorGildas Bazin <gbazin@videolan.org>
Thu, 5 Aug 2004 14:05:51 +0000 (14:05 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 5 Aug 2004 14:05:51 +0000 (14:05 +0000)
modules/video_filter/blend.c

index 243a480870c520f05129ca02c21d83bb5e9c3b04..abc0fde931b317f22ab605236829879177f76f30 100644 (file)
@@ -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;