From e73a9c9bf0000f6eb90225991bfa4141ac9be41e Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 16 Oct 2002 13:31:38 +0000 Subject: [PATCH] 10l to Dominik - casting at wrong place git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7748 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/x11_common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libvo/x11_common.c b/libvo/x11_common.c index a487973504..4774ce56a0 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -635,7 +635,7 @@ void vo_x11_setlayer( int layer ) Atom type; int format; unsigned long nitems, bytesafter; - unsigned char * args = NULL; + Atom * args = NULL; if ( WinID >= 0 ) return; @@ -655,7 +655,7 @@ void vo_x11_setlayer( int layer ) } type=XInternAtom( mDisplay,"_NET_SUPPORTED",False ); - if ( Success == XGetWindowProperty( mDisplay,mRootWin,type,0,16384,False,AnyPropertyType,&type,&format,&nitems,&bytesafter,&args ) && nitems > 0 ) + if ( Success == XGetWindowProperty( mDisplay,mRootWin,type,0,16384,False,AnyPropertyType,&type,&format,&nitems,&bytesafter,(unsigned char**)(&args) ) && nitems > 0 ) { XEvent e; int i; @@ -680,7 +680,7 @@ void vo_x11_setlayer( int layer ) return; } type=XInternAtom( mDisplay,"_WIN_SUPPORTING_WM_CHECK",False ); - if ( Success == XGetWindowProperty( mDisplay,mRootWin,type,0,16384,False,AnyPropertyType,&type,&format,&nitems,&bytesafter,&args ) && nitems > 0 ) + if ( Success == XGetWindowProperty( mDisplay,mRootWin,type,0,16384,False,AnyPropertyType,&type,&format,&nitems,&bytesafter,(unsigned char**)(&args) ) && nitems > 0 ) { XClientMessageEvent xev;