]> git.sesse.net Git - vlc/commitdiff
WinGDI: kill warning
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 23 Aug 2009 12:14:33 +0000 (14:14 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 23 Aug 2009 12:14:33 +0000 (14:14 +0200)
modules/video_output/msw/wingdi.c

index 41fb2c7360f5a666836b878b88ef334cfacf2812..7e5a3b6623b6b0a9c2bbca516540daa6b3e11904 100644 (file)
@@ -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 );