summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manage.c b/src/manage.c
index 49e7b75..55dea3c 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -276,7 +276,7 @@ get_wmname (Window w)
else if (text_prop.value)
{
/* Convertion failed, try to get the raw string */
- name = xstrdup (text_prop.value);
+ name = xstrdup ((char *) text_prop.value);
XFree (text_prop.value);
}