aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/StBytes.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/StBytes.c')
-rw-r--r--libX11/src/StBytes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/StBytes.c b/libX11/src/StBytes.c
index 13ac879c5..07ee441ab 100644
--- a/libX11/src/StBytes.c
+++ b/libX11/src/StBytes.c
@@ -94,7 +94,7 @@ XStoreBuffer (
{
if ((buffer < 0) || (buffer > 7)) return 0;
return XChangeProperty(dpy, RootWindow(dpy, 0), n_to_atom[buffer],
- XA_STRING, 8, PropModeReplace, (unsigned char *) bytes, nbytes);
+ XA_STRING, 8, PropModeReplace, (_Xconst unsigned char *) bytes, nbytes);
}
int