summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-27 14:19:48 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-27 14:19:48 +0000
commita5ee26b559959f3049677fd47f4c3619f0c57fd6 (patch)
treef0da45a378321b27dbe30b6e981c0de13c0a925e /libvo/x11_common.c
parent467013ecdc98ad80d50f425af1e41efc63a37f1f (diff)
downloadmpv-a5ee26b559959f3049677fd47f4c3619f0c57fd6.tar.bz2
mpv-a5ee26b559959f3049677fd47f4c3619f0c57fd6.tar.xz
vo_x11_classhint name argument should be const, since we pass string constants there.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30125 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index d1911401ce..5af4f19ac3 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -733,7 +733,7 @@ void vo_x11_decoration(Display * vo_Display, Window w, int d)
}
}
-void vo_x11_classhint(Display * display, Window window, char *name)
+void vo_x11_classhint(Display * display, Window window, const char *name)
{
XClassHint wmClass;
pid_t pid = getpid();