changeset 7747:ff5d9b3815b5

10l to Dominik - casting at wrong place
author arpi
date Wed, 16 Oct 2002 13:31:38 +0000
parents 15ce89ba92cf
children 18f7389bc822
files libvo/x11_common.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;