vlc | branch: master | Steve Lhomme <[email protected]> | Mon Jun  3 12:44:20 
2019 +0200| [8fdd911cac34ca8b42202ece6c2a3823040dee7c] | committer: Steve Lhomme

logo: fix warnings

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8fdd911cac34ca8b42202ece6c2a3823040dee7c
---

 modules/spu/logo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/spu/logo.c b/modules/spu/logo.c
index c120b503e1..9910b185f8 100644
--- a/modules/spu/logo.c
+++ b/modules/spu/logo.c
@@ -540,9 +540,9 @@ static int Mouse( filter_t *p_filter, vlc_mouse_t *p_mouse,
             int i_dx, i_dy;
             vlc_mouse_GetMotion( &i_dx, &i_dy, p_old, p_new );
             p_sys->i_pos_x = VLC_CLIP( p_sys->i_pos_x + i_dx, 0,
-                                    p_filter->fmt_in.video.i_width  - i_logo_w 
);
+                                    (int)p_filter->fmt_in.video.i_width  - 
i_logo_w );
             p_sys->i_pos_y = VLC_CLIP( p_sys->i_pos_y + i_dy, 0,
-                                    p_filter->fmt_in.video.i_height - i_logo_h 
);
+                                    (int)p_filter->fmt_in.video.i_height - 
i_logo_h );
         }
 
         if( p_sys->b_mouse_grab || b_over )

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to