[vlc-devel] commit: msw vouts: Fix signed vs unsigned type and format strings ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Aug 23 13:13:07 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 23 12:51:06 2009 +0200| [8ae6a10be00eccbe30f1fda18103c7ab9bb56a91] | committer: Jean-Baptiste Kempf 

msw vouts: Fix signed vs unsigned type and format strings

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

 modules/video_output/msw/events.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index b54a5b0..49a27f0 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -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




More information about the vlc-devel mailing list