aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/miext
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/miext')
-rw-r--r--xorg-server/miext/damage/damage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/miext/damage/damage.c b/xorg-server/miext/damage/damage.c
index d82ea0f6e..7d58d134b 100644
--- a/xorg-server/miext/damage/damage.c
+++ b/xorg-server/miext/damage/damage.c
@@ -1331,9 +1331,9 @@ damagePolyFillRect(DrawablePtr pDrawable,
int nRectsTmp = nRects;
box.x1 = pRectsTmp->x;
- box.x2 = box.x1 + pRectsTmp->width;
+ box.x2 = box.x1 + (short)pRectsTmp->width;
box.y1 = pRectsTmp->y;
- box.y2 = box.y1 + pRectsTmp->height;
+ box.y2 = box.y1 + (short)pRectsTmp->height;
while(--nRectsTmp)
{