fix warning
This commit is contained in:
parent
5a68cdadf3
commit
865ef738ec
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue