summaryrefslogtreecommitdiff
path: root/app/cwm
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-12-11 17:57:39 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-12-11 17:57:39 +0000
commit452f7e1c158bb15fd8de7d5f74fc04dcb5260abe (patch)
treec6356dd3f64f9b415286d9fce84b264f092a9380 /app/cwm
parent80f137eec065cf268e3e76bd4c12cd980f88469d (diff)
another int/long fixup that was giving dodgy property values on amd64, shame on
me for not reading xlibs (appauling) documentation more closely. ok okan@
Diffstat (limited to 'app/cwm')
-rw-r--r--app/cwm/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/screen.c b/app/cwm/screen.c
index 4e078e7ee..9c45f631e 100644
--- a/app/cwm/screen.c
+++ b/app/cwm/screen.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: screen.c,v 1.21 2009/12/10 23:14:58 oga Exp $
+ * $Id: screen.c,v 1.22 2009/12/11 17:57:38 oga Exp $
*/
#include "headers.h"
@@ -102,7 +102,7 @@ screen_find_xinerama(struct screen_ctx *sc, int x, int y)
void
screen_update_geometry(struct screen_ctx *sc, int width, int height)
{
- int geom[2];
+ long geom[2];
sc->xmax = geom[0] = width;
sc->ymax = geom[1] = height;