From a5ee26b559959f3049677fd47f4c3619f0c57fd6 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 27 Dec 2009 14:19:48 +0000 Subject: 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 --- libvo/x11_common.c | 2 +- libvo/x11_common.h | 2 +- 2 files changed, 2 insertions(+), 2 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(); diff --git a/libvo/x11_common.h b/libvo/x11_common.h index c7221d2577..bea422e8b5 100644 --- a/libvo/x11_common.h +++ b/libvo/x11_common.h @@ -63,7 +63,7 @@ void vo_uninit( void ); void vo_hidecursor ( Display* , Window ); void vo_showcursor( Display *disp, Window win ); 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 ); void vo_x11_nofs_sizepos(int x, int y, int width, int height); void vo_x11_sizehint( int x, int y, int width, int height, int max ); int vo_x11_check_events(Display *mydisplay); -- cgit v1.2.3