Commit 46a07106 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MSW: signedness corrections

parent 6541e664
...@@ -1186,7 +1186,7 @@ int DirectDrawUpdateOverlay( vout_thread_t *p_vout ) ...@@ -1186,7 +1186,7 @@ int DirectDrawUpdateOverlay( vout_thread_t *p_vout )
if( p_vout->p_sys->b_wallpaper ) if( p_vout->p_sys->b_wallpaper )
{ {
int i_x, i_y, i_width, i_height; unsigned i_x, i_y, i_width, i_height;
rect_src.left = p_vout->fmt_out.i_x_offset; rect_src.left = p_vout->fmt_out.i_x_offset;
rect_src.top = p_vout->fmt_out.i_y_offset; rect_src.top = p_vout->fmt_out.i_y_offset;
......
...@@ -149,8 +149,8 @@ struct vout_sys_t ...@@ -149,8 +149,8 @@ struct vout_sys_t
/* DDraw capabilities */ /* DDraw capabilities */
int b_caps_overlay_clipping; int b_caps_overlay_clipping;
int i_rgb_colorkey; /* colorkey in RGB used by the overlay */ unsigned int i_rgb_colorkey; /* colorkey in RGB used by the overlay */
int i_colorkey; /* colorkey used by the overlay */ unsigned int i_colorkey; /* colorkey used by the overlay */
COLORREF color_bkg; COLORREF color_bkg;
COLORREF color_bkgtxt; COLORREF color_bkgtxt;
......
...@@ -358,7 +358,7 @@ static int Manage( vout_thread_t *p_vout ) ...@@ -358,7 +358,7 @@ static int Manage( vout_thread_t *p_vout )
if( !EqualRect( &rect_parent, &p_vout->p_sys->rect_parent ) ) if( !EqualRect( &rect_parent, &p_vout->p_sys->rect_parent ) )
{ {
int i_x, i_y, i_width, i_height; unsigned int i_x, i_y, i_width, i_height;
p_vout->p_sys->rect_parent = rect_parent; p_vout->p_sys->rect_parent = rect_parent;
/* This one is to force the update even if only /* This one is to force the update even if only
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment