[vlmc-devel] VLCMediaPlayer: Use the appropriate destination type.

Hugo Beauzée-Luyssen git at videolan.org
Fri Mar 25 11:12:55 CET 2011


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Fri Mar 25 11:12:27 2011 +0100| [5ab1a8cac416eb823a4a19672be31c6b6dec9b56] | committer: Hugo Beauzée-Luyssen

VLCMediaPlayer: Use the appropriate destination type.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=5ab1a8cac416eb823a4a19672be31c6b6dec9b56
---

 src/LibVLCpp/VLCMediaPlayer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/LibVLCpp/VLCMediaPlayer.cpp b/src/LibVLCpp/VLCMediaPlayer.cpp
index 141d38d..55be8a1 100644
--- a/src/LibVLCpp/VLCMediaPlayer.cpp
+++ b/src/LibVLCpp/VLCMediaPlayer.cpp
@@ -225,7 +225,7 @@ MediaPlayer::setDrawable( void* drawable )
 #if defined ( Q_WS_MAC )
     libvlc_media_player_set_nsobject( m_internalPtr, drawable );
 #elif defined ( Q_OS_UNIX )
-    libvlc_media_player_set_xwindow( m_internalPtr, (uint32_t) reinterpret_cast< long >(drawable) );
+    libvlc_media_player_set_xwindow( m_internalPtr, reinterpret_cast<intptr_t>( drawable ) );
 #elif defined ( Q_OS_WIN )
     libvlc_media_player_set_hwnd( m_internalPtr, drawable );
 #endif



More information about the Vlmc-devel mailing list