[vlmc-devel] [PATCH] PreviewWidget: Cast to intptr_t on passing id to setWindowId()

Pawel Golinski golpaw1 at gmail.com
Wed Jul 20 22:51:50 CEST 2016


---
 src/Gui/preview/PreviewWidget.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Gui/preview/PreviewWidget.cpp b/src/Gui/preview/PreviewWidget.cpp
index 6582f4c..f076663 100644
--- a/src/Gui/preview/PreviewWidget.cpp
+++ b/src/Gui/preview/PreviewWidget.cpp
@@ -73,7 +73,7 @@ PreviewWidget::setRenderer( AbstractRenderer* renderer )
     // Give the renderer to the ruler
     m_ui->rulerWidget->setRenderer( m_renderer );
     auto output = new Backend::MLT::MLTSdlOutput;
-    output->setWindowId( m_ui->renderWidget->id() );
+    output->setWindowId( (intptr_t)m_ui->renderWidget->id() );
     m_renderer->setOutput( std::unique_ptr<Backend::IOutput>( output ) );
 
 #if defined ( Q_OS_MAC )
-- 
2.7.4 (Apple Git-66)



More information about the Vlmc-devel mailing list