# HG changeset patch # User arpi # Date 1034775098 0 # Node ID ff5d9b3815b5205851d6faea2694bf6789af2974 # Parent 15ce89ba92cf6f3d65e8a302766b2a5395cc3d1f 10l to Dominik - casting at wrong place diff -r 15ce89ba92cf -r ff5d9b3815b5 libvo/x11_common.c --- a/libvo/x11_common.c Wed Oct 16 08:14:42 2002 +0000 +++ b/libvo/x11_common.c Wed Oct 16 13:31:38 2002 +0000 @@ -635,7 +635,7 @@ Atom type; int format; unsigned long nitems, bytesafter; - unsigned char * args = NULL; + Atom * args = NULL; if ( WinID >= 0 ) return; @@ -655,7 +655,7 @@ } 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 @@ 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;