diff options
author | Ken Moore <ken@pcbsd.org> | 2016-08-05 13:46:09 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2016-08-05 13:46:09 -0400 |
commit | e792f544d1b9f5d571bb76d574904ebdb190497d (patch) | |
tree | 7038f1443accde5c215a9754248ab14bb3ad7a5f /src-qt5/core | |
parent | Add file watching capabilities to lumina-textedit, so the file will automatic... (diff) | |
download | lumina-e792f544d1b9f5d571bb76d574904ebdb190497d.tar.gz lumina-e792f544d1b9f5d571bb76d574904ebdb190497d.tar.bz2 lumina-e792f544d1b9f5d571bb76d574904ebdb190497d.zip |
use a static_cast from signed->unsigned integer in LuminaX11.cpp to silence a possible c++11 build warning/error.
Diffstat (limited to 'src-qt5/core')
-rw-r--r-- | src-qt5/core/libLumina/LuminaX11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/LuminaX11.cpp b/src-qt5/core/libLumina/LuminaX11.cpp index 2aec76e3..ecaa83d2 100644 --- a/src-qt5/core/libLumina/LuminaX11.cpp +++ b/src-qt5/core/libLumina/LuminaX11.cpp @@ -778,7 +778,7 @@ void LXCB::MoveResizeWindow(WId win, QRect geom){ // ===== ResizeWindow() ===== void LXCB::ResizeWindow(WId win, int width, int height){ //Use the basic XCB functions instead of ewmh - uint32_t values[] = {width, height}; + uint32_t values[] = { static_cast<unsigned int>(width), static_cast<unsigned int>(height) }; xcb_configure_window(QX11Info::connection(), win, XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT, values); } |