aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaX11.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2016-08-05 13:46:09 -0400
committerKen Moore <ken@pcbsd.org>2016-08-05 13:46:09 -0400
commite792f544d1b9f5d571bb76d574904ebdb190497d (patch)
tree7038f1443accde5c215a9754248ab14bb3ad7a5f /src-qt5/core/libLumina/LuminaX11.cpp
parentAdd file watching capabilities to lumina-textedit, so the file will automatic... (diff)
downloadlumina-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/libLumina/LuminaX11.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaX11.cpp2
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);
}
bgstack15