freebsd-ports/x11-wm/fluxbox/files/patch-src_Ewmh.cc
Mark Linimon d44b1bc68c Fix build on armvX.
PR:		226389
Submitted by:	mikael.urankar
Approved by:	maintainer timeout (2 weeks)
2018-03-29 06:10:57 +00:00

12 lines
496 B
C++

--- src/Ewmh.cc.orig 2018-02-17 12:06:58 UTC
+++ src/Ewmh.cc
@@ -914,7 +914,7 @@ void Ewmh::updateGeometry(BScreen &screen) {
* Window Manager.
*
*/
- long value[2] = {screen.width(), screen.height()};
+ long value[2] = {static_cast<long>(screen.width()), static_cast<long>(screen.height())};
screen.rootWindow().changeProperty(m_net->desktop_geometry,
XA_CARDINAL, 32,
PropModeReplace,