From 5ab1a8cac416eb823a4a19672be31c6b6dec9b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Fri, 25 Mar 2011 11:12:27 +0100 Subject: [PATCH] VLCMediaPlayer: Use the appropriate destination type. --- src/LibVLCpp/VLCMediaPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LibVLCpp/VLCMediaPlayer.cpp b/src/LibVLCpp/VLCMediaPlayer.cpp index 141d38d65..55be8a137 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( drawable ) ); #elif defined ( Q_OS_WIN ) libvlc_media_player_set_hwnd( m_internalPtr, drawable ); #endif -- GitLab