]> git.sesse.net Git - vlc/commitdiff
msw vouts: Fix signed vs unsigned type and format strings
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 23 Aug 2009 10:51:06 +0000 (12:51 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 23 Aug 2009 10:51:06 +0000 (12:51 +0200)
modules/video_output/msw/events.c

index b54a5b0669a2d6e049590cbedb501346c003a3e0..49a27f0e26ccb9e8a8902f1f610abf25cba68fad 100644 (file)
@@ -647,7 +647,7 @@ void UpdateRects( vout_thread_t *p_vout, bool b_force )
 #define rect_dest p_vout->p_sys->rect_dest
 #define rect_dest_clipped p_vout->p_sys->rect_dest_clipped
 
-    int i_width, i_height, i_x, i_y;
+    unsigned int i_width, i_height, i_x, i_y;
 
     RECT  rect;
     POINT point;
@@ -717,7 +717,7 @@ void UpdateRects( vout_thread_t *p_vout, bool b_force )
 
 #ifndef NDEBUG
     msg_Dbg( p_vout, "DirectXUpdateRects image_dst_clipped coords:"
-                     " %i,%i,%i,%i",
+                     " %li,%li,%li,%li",
                      rect_dest_clipped.left, rect_dest_clipped.top,
                      rect_dest_clipped.right, rect_dest_clipped.bottom );
 #endif
@@ -778,7 +778,7 @@ void UpdateRects( vout_thread_t *p_vout, bool b_force )
 
 #ifndef NDEBUG
     msg_Dbg( p_vout, "DirectXUpdateRects image_src_clipped"
-                     " coords: %i,%i,%i,%i",
+                     " coords: %li,%li,%li,%li",
                      rect_src_clipped.left, rect_src_clipped.top,
                      rect_src_clipped.right, rect_src_clipped.bottom );
 #endif