[vlc-commits] commit: Xlib: fix build (skins2) - Part 2/2: cast vlc_object ( Jean-Philippe André )

git at videolan.org git at videolan.org
Sat Jun 5 11:11:22 CEST 2010


vlc | branch: master | Jean-Philippe André <jpeg at videolan.org> | Fri Jun  4 20:01:15 2010 +0800| [c86a04d7467384a5354a1312a66352c998312b3e] | committer: Jean-Philippe André 

Xlib: fix build (skins2) - Part 2/2: cast vlc_object

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

 modules/gui/skins2/x11/x11_factory.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/skins2/x11/x11_factory.cpp b/modules/gui/skins2/x11/x11_factory.cpp
index 22c329b..73eed03 100644
--- a/modules/gui/skins2/x11/x11_factory.cpp
+++ b/modules/gui/skins2/x11/x11_factory.cpp
@@ -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;



More information about the vlc-commits mailing list