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/qt5_in_gtk2.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/qt5_in_gtk2.cpp')
-rw-r--r-- | src/qt5_in_gtk2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt5_in_gtk2.cpp b/src/qt5_in_gtk2.cpp index bd7957e..66ee674 100644 --- a/src/qt5_in_gtk2.cpp +++ b/src/qt5_in_gtk2.cpp @@ -89,7 +89,7 @@ suil_qt_wrapper_realize(GtkWidget* w, gpointer data) { SuilQtWrapper* const wrap = SUIL_QT_WRAPPER(w); GtkSocket* const s = GTK_SOCKET(w); - const WId id = gtk_socket_get_id(s); + const WId id = (const WId)gtk_socket_get_id(s); wrap->qembed->winId(); wrap->qembed->windowHandle()->setParent(QWindow::fromWinId(id)); |