aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/StBytes.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/StBytes.c')
-rw-r--r--nx-X11/lib/X11/StBytes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/StBytes.c b/nx-X11/lib/X11/StBytes.c
index 0cbbb25f6..390f66832 100644
--- a/nx-X11/lib/X11/StBytes.c
+++ b/nx-X11/lib/X11/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