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);