summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-01 13:57:30 +0300
committermonsta <[email protected]>2016-02-01 13:57:30 +0300
commitcbc4c92249345b51f711c184559e50c2702d4884 (patch)
treee240d6a97c176fe556b6e3d94a273c20f41240ae
parentd3b930d3a139924575b01bde5ebe03fd8da58d48 (diff)
downloadmate-settings-daemon-cbc4c92249345b51f711c184559e50c2702d4884.tar.bz2
mate-settings-daemon-cbc4c92249345b51f711c184559e50c2702d4884.tar.xz
fix a build warning
-rw-r--r--plugins/xsettings/msd-xsettings-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xsettings/msd-xsettings-manager.c b/plugins/xsettings/msd-xsettings-manager.c
index 835661a..635040a 100644
--- a/plugins/xsettings/msd-xsettings-manager.c
+++ b/plugins/xsettings/msd-xsettings-manager.c
@@ -453,7 +453,7 @@ xft_settings_set_xresources (MateXftSettings *settings)
/* Set the new X property */
XChangeProperty(dpy, RootWindow (dpy, 0),
- XA_RESOURCE_MANAGER, XA_STRING, 8, PropModeReplace, add_string->str, add_string->len);
+ XA_RESOURCE_MANAGER, XA_STRING, 8, PropModeReplace, (unsigned char *) add_string->str, add_string->len);
XCloseDisplay (dpy);
g_string_free (add_string, TRUE);