diff options
author | David Robillard <d@drobilla.net> | 2020-07-15 19:37:20 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-17 17:13:30 +0200 |
commit | 67c218947c94ad791903ce0a95b29851abc2b3ca (patch) | |
tree | 3eee67618364ed68f1b0d5980fc7707b8b88304d | |
parent | b88d8bc86526c4e11811e5360c5b2196a091d144 (diff) | |
download | suil-67c218947c94ad791903ce0a95b29851abc2b3ca.tar.gz suil-67c218947c94ad791903ce0a95b29851abc2b3ca.tar.bz2 suil-67c218947c94ad791903ce0a95b29851abc2b3ca.zip |
Remove useless cast
-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', ], }) |