From e792f544d1b9f5d571bb76d574904ebdb190497d Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 5 Aug 2016 13:46:09 -0400 Subject: use a static_cast from signed->unsigned integer in LuminaX11.cpp to silence a possible c++11 build warning/error. --- src-qt5/core/libLumina/LuminaX11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5/core/libLumina') 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(width), static_cast(height) }; xcb_configure_window(QX11Info::connection(), win, XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT, values); } -- cgit