Fix build on armvX.

PR:		226389
Submitted by:	mikael.urankar
Approved by:	maintainer timeout (2 weeks)
This commit is contained in:
Mark Linimon 2018-03-29 06:10:57 +00:00
parent 68d1496cc3
commit d44b1bc68c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465866

View file

@ -0,0 +1,11 @@
--- 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,