]> git.sesse.net Git - vlc/commitdiff
Xlib: fix build (skins2) - Part 2/2: cast vlc_object
authorJean-Philippe André <jpeg@videolan.org>
Fri, 4 Jun 2010 12:01:15 +0000 (20:01 +0800)
committerJean-Philippe André <jpeg@videolan.org>
Sat, 5 Jun 2010 09:10:08 +0000 (17:10 +0800)
modules/gui/skins2/x11/x11_factory.cpp

index 22c329b4ca2109782b134617d192621fb21e825d..73eed0325f2898feb2a992cdf248506949d658fe 100644 (file)
@@ -58,7 +58,7 @@ X11Factory::~X11Factory()
 bool X11Factory::init()
 {
     // make sure xlib is safe-thread
-    if( !vlc_xlib_init( getIntf() ) )
+    if( !vlc_xlib_init( VLC_OBJECT( getIntf() ) ) )
     {
         msg_Err( getIntf(), "initializing xlib for multi-threading failed" );
         return false;