diff options
author | David Robillard <d@drobilla.net> | 2017-08-06 16:06:02 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-08-06 16:40:38 +0200 |
commit | 761684d36210d660315d70c27d366fc2bc9e62cb (patch) | |
tree | ea75c6ae222447189e706aebafec79bcfeeafefb /src/gtk2_in_qt5.cpp | |
parent | 09062c1f9a572345da978d451450ec51d8273bd9 (diff) | |
download | suil-761684d36210d660315d70c27d366fc2bc9e62cb.tar.gz suil-761684d36210d660315d70c27d366fc2bc9e62cb.tar.bz2 suil-761684d36210d660315d70c27d366fc2bc9e62cb.zip |
Fix implicit cast warnings with clang
Diffstat (limited to 'src/gtk2_in_qt5.cpp')
-rw-r--r-- | src/gtk2_in_qt5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtk2_in_qt5.cpp b/src/gtk2_in_qt5.cpp index e97f4a0..75258b0 100644 --- a/src/gtk2_in_qt5.cpp +++ b/src/gtk2_in_qt5.cpp @@ -88,7 +88,7 @@ wrapper_wrap(SuilWrapper* wrapper, gtk_container_add(GTK_CONTAINER(plug), widget); gtk_widget_show_all(plug); - const WId wid = gtk_plug_get_id((GtkPlug *)plug); + const WId wid = (const WId)gtk_plug_get_id((GtkPlug*)plug); QWindow* window = QWindow::fromWinId(wid); QWidget* container = QWidget::createWindowContainer(window, wrap); QVBoxLayout* layout = new QVBoxLayout(); |