]> git.sesse.net Git - vlc/commitdiff
MSW: signedness corrections
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 23 Aug 2009 12:03:45 +0000 (14:03 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 23 Aug 2009 12:03:45 +0000 (14:03 +0200)
modules/video_output/msw/directx.c
modules/video_output/msw/vout.h
modules/video_output/msw/wingdi.c

index eb7ede7e6c20130bfd08a875ef10c2a774fe39c7..45205114fc007ae953e4cd801208fe3f89ce235d 100644 (file)
@@ -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;
index f9118abfc1201efa9bd362db9561a29017bbe28c..dbe64a05c07708174aa84181e24ace2959f4026f 100644 (file)
@@ -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;
index 70c963e0c9cb503dc47ab4d4776672a92ce63800..41fb2c7360f5a666836b878b88ef334cfacf2812 100644 (file)
@@ -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