From aaff92c8c22a47804a21010d023ef76d82e7ec7e Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sat, 27 Jun 2009 14:40:03 -0700 Subject: [PATCH] XQuartz: 64bit fix for screen origin in AppleWM (cherry picked from commit 60a757d2802a5c34acd91ca9a052937b5a169ede) --- hw/xquartz/applewm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xquartz/applewm.c b/hw/xquartz/applewm.c index ebfd256f8..418c5de74 100644 --- a/hw/xquartz/applewm.c +++ b/hw/xquartz/applewm.c @@ -137,7 +137,7 @@ AppleWMSetScreenOrigin( WindowPtr pWin ) { - long data[2]; + int32_t data[2]; data[0] = (dixScreenOrigins[pWin->drawable.pScreen->myNum].x + darwinMainScreenX);