[Mplayer-cvslog] CVS: main/libvo x11_common.c,1.104,1.105

Arpi of Ize arpi at mplayerhq.hu
Wed Oct 16 15:32:06 CEST 2002


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv31519

Modified Files:
	x11_common.c 
Log Message:
10l to Dominik - casting at wrong place


Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -r1.104 -r1.105
--- x11_common.c	13 Oct 2002 21:58:55 -0000	1.104
+++ x11_common.c	16 Oct 2002 13:31:38 -0000	1.105
@@ -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;
    




More information about the MPlayer-cvslog mailing list