[vlc-devel] commit: Fix warnings ( Rémi Duraffort )

git version control git at videolan.org
Tue Aug 19 23:48:18 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Aug 19 23:21:57 2008 +0200| [92e417c2a6f61615b2bf1d2fc2017317a90f64cd] | committer: Rémi Duraffort 

Fix warnings

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

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

diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index a772153..4edb568 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -98,7 +98,7 @@ void* EventThread( vlc_object_t *p_this )
     MSG msg;
     POINT old_mouse_pos = {0,0}, mouse_pos;
     vlc_value_t val;
-    int i_width, i_height, i_x, i_y;
+    unsigned int i_width, i_height, i_x, i_y;
     HMODULE hkernel32;
 
     /* Initialisation */
diff --git a/modules/video_output/msw/wingdi.c b/modules/video_output/msw/wingdi.c
index 4b5ccb8..310d3ea 100644
--- a/modules/video_output/msw/wingdi.c
+++ b/modules/video_output/msw/wingdi.c
@@ -635,6 +635,8 @@ static int Manage( vout_thread_t *p_vout )
 static void Render( vout_thread_t *p_vout, picture_t *p_pic )
 {
     /* No need to do anything, the fake direct buffers stay as they are */
+    (void)p_vout;
+    (void)p_pic;
 }
 
 /*****************************************************************************




More information about the vlc-devel mailing list