]> Dogcows Code - chaz/openbox/commitdiff
fix warning
authorDana Jansens <danakj@orodu.net>
Mon, 23 Apr 2007 20:36:32 +0000 (20:36 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 23 Apr 2007 20:36:32 +0000 (20:36 +0000)
openbox/prop.c

index 655fd07b9b8cb02903698d0b9072116972dbc606..f0cca6c0adb3f05e0fade09c3e0d1dccae99485a 100644 (file)
@@ -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)
This page took 0.028911 seconds and 4 git commands to generate.