[vlc-devel] commit: Fixed skins2 compilation. (Laurent Aimar )

git version control git at videolan.org
Sat May 16 20:46:33 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat May 16 20:44:35 2009 +0200| [34f76d16bbbb3bcb0565f2edd5a48c2a688302fb] | committer: Laurent Aimar 

Fixed skins2 compilation.

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

 modules/gui/skins2/src/vlcproc.cpp |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/gui/skins2/src/vlcproc.cpp b/modules/gui/skins2/src/vlcproc.cpp
index 806bee7..a2dcd27 100644
--- a/modules/gui/skins2/src/vlcproc.cpp
+++ b/modules/gui/skins2/src/vlcproc.cpp
@@ -410,11 +410,11 @@ int VlcProc::onIntfShow( vlc_object_t *pObj, const char *pVariable,
 
 
 int VlcProc::onItemChange( vlc_object_t *pObj, const char *pVariable,
-                           vlc_value_t oldVal, vlc_value_t newVal,
+                           vlc_value_t oldval, vlc_value_t newval,
                            void *pParam )
 {
     VlcProc *pThis = (VlcProc*)pParam;
-    input_item_t *p_item = newval.p_address;
+    input_item_t *p_item = static_cast<input_item_t*>(newval.p_address);
 
     // Update the stream variable
     pThis->updateStreamName();
@@ -475,11 +475,11 @@ int VlcProc::onItemDelete( vlc_object_t *pObj, const char *pVariable,
 
 
 int VlcProc::onPlaylistChange( vlc_object_t *pObj, const char *pVariable,
-                               vlc_value_t oldVal, vlc_value_t newVal,
+                               vlc_value_t oldval, vlc_value_t newval,
                                void *pParam )
 {
     VlcProc *pThis = (VlcProc*)pParam;
-    input_item_t *p_item = newval.p_address;
+    input_item_t *p_item = static_cast<input_item_t*>(newval.p_address);
 
     AsyncQueue *pQueue = AsyncQueue::instance( pThis->getIntf() );
 
@@ -493,7 +493,7 @@ int VlcProc::onPlaylistChange( vlc_object_t *pObj, const char *pVariable,
                                                          oldVal.i_int );
     pQueue->push( CmdGenericPtr( pCmdTree ) , true );
 #endif
-    pCmdTree = new CmdPlaytreeUpdate( pThis->getIntf(), p_item->i_id );
+    CmdPlaytreeUpdate *pCmdTree = new CmdPlaytreeUpdate( pThis->getIntf(), p_item->i_id );
     pQueue->push( CmdGenericPtr( pCmdTree ) , true );
 
     return VLC_SUCCESS;




More information about the vlc-devel mailing list