diff options
-rw-r--r-- | src/x11_in_qt5.cpp | 2 | ||||
-rw-r--r-- | wscript | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/x11_in_qt5.cpp b/src/x11_in_qt5.cpp index aae6863..97a34dc 100644 --- a/src/x11_in_qt5.cpp +++ b/src/x11_in_qt5.cpp @@ -140,7 +140,7 @@ wrapper_wrap(SuilWrapper* wrapper, SuilInstance* instance) { SuilX11InQt5Wrapper* const impl = (SuilX11InQt5Wrapper*)wrapper->impl; - SuilQX11Widget* const ew = (SuilQX11Widget*)impl->parent; + SuilQX11Widget* const ew = impl->parent; Display* const display = QX11Info::display(); const Window window = (Window)instance->ui_widget; @@ -93,7 +93,6 @@ def configure(conf): 'gcc': [ '-Wno-effc++', '-Wno-float-conversion', - '-Wno-useless-cast', ], }) |