[vlc-devel] commit: WinGDI: kill warning (Jean-Baptiste Kempf )

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


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 23 14:14:33 2009 +0200| [9e3b53ac8cc8777d946f3dfcf23d68b4691c06cc] | committer: Jean-Baptiste Kempf 

WinGDI: kill warning

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

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

diff --git a/modules/video_output/msw/wingdi.c b/modules/video_output/msw/wingdi.c
index 41fb2c7..7e5a3b6 100644
--- a/modules/video_output/msw/wingdi.c
+++ b/modules/video_output/msw/wingdi.c
@@ -141,8 +141,7 @@ static int OpenVideo ( vlc_object_t *p_this )
     p_vout->p_sys->render_height = p_vout->render.i_height;
 #endif
 
-    p_vout->p_sys->p_event = (vlc_object_t *)
-        vlc_object_create( p_vout, sizeof( vlc_object_t ) );
+    p_vout->p_sys->p_event = vlc_object_create( p_vout, sizeof( event_thread_t ) );
     if( !p_vout->p_sys->p_event )
     {
         free( p_vout->p_sys );




More information about the vlc-devel mailing list