aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/SetPntMap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/SetPntMap.c')
-rw-r--r--libX11/src/SetPntMap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/SetPntMap.c b/libX11/src/SetPntMap.c
index 2e292019f..14e104d6d 100644
--- a/libX11/src/SetPntMap.c
+++ b/libX11/src/SetPntMap.c
@@ -43,7 +43,7 @@ XSetPointerMapping (
GetReq (SetPointerMapping, req);
req->nElts = nmaps;
req->length += (nmaps + 3)>>2;
- Data (dpy, (char *)map, (long) nmaps);
+ Data (dpy, (_Xconst char *)map, (long) nmaps);
if (_XReply (dpy, (xReply *)&rep, 0, xFalse) == 0)
rep.success = MappingSuccess;
UnlockDisplay(dpy);