[vlc-devel] commit: MSW: signedness corrections (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Aug 23 14:15:06 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 23 14:03:45 2009 +0200| [46a0710606bbd8ec0e7198a4c3f99b37f538878d] | committer: Jean-Baptiste Kempf
MSW: signedness corrections
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=46a0710606bbd8ec0e7198a4c3f99b37f538878d
---
modules/video_output/msw/directx.c | 2 +-
modules/video_output/msw/vout.h | 4 ++--
modules/video_output/msw/wingdi.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/video_output/msw/directx.c b/modules/video_output/msw/directx.c
index eb7ede7..4520511 100644
--- a/modules/video_output/msw/directx.c
+++ b/modules/video_output/msw/directx.c
@@ -1186,7 +1186,7 @@ int DirectDrawUpdateOverlay( vout_thread_t *p_vout )
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.top = p_vout->fmt_out.i_y_offset;
diff --git a/modules/video_output/msw/vout.h b/modules/video_output/msw/vout.h
index f9118ab..dbe64a0 100644
--- a/modules/video_output/msw/vout.h
+++ b/modules/video_output/msw/vout.h
@@ -149,8 +149,8 @@ struct vout_sys_t
/* DDraw capabilities */
int b_caps_overlay_clipping;
- int i_rgb_colorkey; /* colorkey in RGB used by the overlay */
- int i_colorkey; /* colorkey used by the overlay */
+ unsigned int i_rgb_colorkey; /* colorkey in RGB used by the overlay */
+ unsigned int i_colorkey; /* colorkey used by the overlay */
COLORREF color_bkg;
COLORREF color_bkgtxt;
diff --git a/modules/video_output/msw/wingdi.c b/modules/video_output/msw/wingdi.c
index 70c963e..41fb2c7 100644
--- a/modules/video_output/msw/wingdi.c
+++ b/modules/video_output/msw/wingdi.c
@@ -358,7 +358,7 @@ static int Manage( vout_thread_t *p_vout )
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;
/* This one is to force the update even if only
More information about the vlc-devel
mailing list