summaryrefslogtreecommitdiffstats
path: root/xutils.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2005-03-02 02:13:57 +0000
committerPeter Jones <pjones@redhat.com>2005-03-02 02:13:57 +0000
commit6b811174391e9193ad0726c7ae370d0415433805 (patch)
tree44a5fc3a9c4eb820268f819d93e09a2d60543e65 /xutils.c
parent4472b1b64772d3778643ce886ad8d2fbef4f4835 (diff)
downloadanaconda-6b811174391e9193ad0726c7ae370d0415433805.tar.gz
anaconda-6b811174391e9193ad0726c7ae370d0415433805.tar.xz
anaconda-6b811174391e9193ad0726c7ae370d0415433805.zip
XChangeProperty demands that rstring be unsigned.
Diffstat (limited to 'xutils.c')
-rw-r--r--xutils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xutils.c b/xutils.c
index d057a2603..ed30af4fd 100644
--- a/xutils.c
+++ b/xutils.c
@@ -259,7 +259,8 @@ setRootResource(PyObject *s, PyObject *args)
}
XChangeProperty(dpy, root, XA_RESOURCE_MANAGER, XA_STRING,
- 8, PropModeReplace, rstring, strlen(rstring));
+ 8, PropModeReplace, (unsigned char *)rstring,
+ strlen(rstring));
free(rstring);
freeResources(resources);