diff options
Diffstat (limited to 'src/FillRects.c')
-rw-r--r-- | src/FillRects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FillRects.c b/src/FillRects.c index 0076f24..0a5cb57 100644 --- a/src/FillRects.c +++ b/src/FillRects.c @@ -70,7 +70,7 @@ XRenderFillRectangles (Display *dpy, } SetReqLen(req, len, len); len <<= 2; /* watch out for macros... */ - Data16 (dpy, (short *) rectangles, len); + Data16 (dpy, (_Xconst short *) rectangles, len); n_rects -= n; rectangles += n; } |