summaryrefslogtreecommitdiff
path: root/src/Picture.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Picture.c')
-rw-r--r--src/Picture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Picture.c b/src/Picture.c
index a7fff5a..0b0a16c 100644
--- a/src/Picture.c
+++ b/src/Picture.c
@@ -145,7 +145,7 @@ _XRenderSetPictureClipRectangles (Display *dpy,
len = ((long) n) << 1;
SetReqLen (req, len, 1);
len <<= 2;
- Data16 (dpy, (short *) rects, len);
+ Data16 (dpy, (_Xconst short *) rects, len);
}
void