From 60a757d2802a5c34acd91ca9a052937b5a169ede 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 --- 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 7ec3f4c37..cb2855c64 100644 --- a/hw/xquartz/applewm.c +++ b/hw/xquartz/applewm.c @@ -149,7 +149,7 @@ AppleWMSetScreenOrigin( WindowPtr pWin ) { - long data[2]; + int32_t data[2]; data[0] = (dixScreenOrigins[pWin->drawable.pScreen->myNum].x + darwinMainScreenX);