From: Dana Jansens Date: Mon, 23 Apr 2007 20:36:32 +0000 (+0000) Subject: fix warning X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=865ef738ec54bc512e72bcf52eb5fa063a509ccb;p=chaz%2Fopenbox fix warning --- diff --git a/openbox/prop.c b/openbox/prop.c index 655fd07b..f0cca6c0 100644 --- a/openbox/prop.c +++ b/openbox/prop.c @@ -406,7 +406,7 @@ void prop_set_array32(Window win, Atom prop, Atom type, gulong *val, void prop_set_string_utf8(Window win, Atom prop, const gchar *val) { XChangeProperty(ob_display, win, prop, prop_atoms.utf8, 8, - PropModeReplace, (guchar*)val, strlen(val)); + PropModeReplace, (const guchar*)val, strlen(val)); } void prop_set_strings_utf8(Window win, Atom prop, gchar **strs)