aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/SetHints.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/SetHints.c')
-rw-r--r--libX11/src/SetHints.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libX11/src/SetHints.c b/libX11/src/SetHints.c
index 0c33f5901..1cde48f85 100644
--- a/libX11/src/SetHints.c
+++ b/libX11/src/SetHints.c
@@ -259,7 +259,9 @@ XSetStandardProperties (
if (icon_string != NULL) {
XChangeProperty (dpy, w, XA_WM_ICON_NAME, XA_STRING, 8,
- PropModeReplace, (unsigned char *)icon_string, safestrlen(icon_string));
+ PropModeReplace,
+ (_Xconst unsigned char *)icon_string,
+ safestrlen(icon_string));
}
if (icon_pixmap != None) {