[vlc-devel] commit: Fix string format. ( Rémi Duraffort )

git version control git at videolan.org
Thu Mar 19 23:20:29 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Mar 19 08:42:07 2009 +0100| [f957d62e91b499ab428205d27cdc13cd9c5e6be1] | committer: Rémi Duraffort 

Fix string format.

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

 modules/gui/skins2/controls/ctrl_video.cpp |    2 +-
 modules/gui/skins2/src/vout_manager.cpp    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/skins2/controls/ctrl_video.cpp b/modules/gui/skins2/controls/ctrl_video.cpp
index 16c8e48..894336a 100644
--- a/modules/gui/skins2/controls/ctrl_video.cpp
+++ b/modules/gui/skins2/controls/ctrl_video.cpp
@@ -118,7 +118,7 @@ void CtrlVideo::setLayout( GenericLayout *pLayout,
     // register Video Control
     VoutManager::instance( getIntf() )->registerCtrlVideo( this );
 
-    msg_Dbg( getIntf(),"New VideoControl detected(%x), useability=%s",
+    msg_Dbg( getIntf(),"New VideoControl detected(%p), useability=%s",
                            this, m_bIsUseable ? "true" : "false" );
 }
 
diff --git a/modules/gui/skins2/src/vout_manager.cpp b/modules/gui/skins2/src/vout_manager.cpp
index fd0242d..2315e58 100644
--- a/modules/gui/skins2/src/vout_manager.cpp
+++ b/modules/gui/skins2/src/vout_manager.cpp
@@ -199,7 +199,7 @@ void* VoutManager::acceptVout( vout_thread_t* pVout, int width, int height )
     // save vout characteristics
     m_SavedVoutVec.push_back( SavedVout( pVout, pVoutWindow, pCtrlVideo ) );
 
-    msg_Dbg( getIntf(), "New incoming vout=0x%x, handle=0x%x, VideoCtrl=0x%x",
+    msg_Dbg( getIntf(), "New incoming vout=0x%p, handle=0x%p, VideoCtrl=0x%p",
                         pVout, handle, pCtrlVideo );
 
     return handle;
@@ -249,7 +249,7 @@ void VoutManager::releaseWindow( intf_thread_t *pIntf, vout_window_t *pWnd )
     {
         if( (*it).pVout == pVout )
         {
-            msg_Dbg( pIntf, "vout released vout=0x%x, VideoCtrl=0x%x",
+            msg_Dbg( pIntf, "vout released vout=0x%p, VideoCtrl=0x%p",
                              pVout, (*it).pCtrlVideo );
 
             // if a video control was being used, detach from it




More information about the vlc-devel mailing list