[Mplayer-cvslog] CVS: main/libvo x11_common.c,1.85,1.86

Arpi of Ize arpi at mplayerhq.hu
Mon May 20 05:58:58 CEST 2002


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

Modified Files:
	x11_common.c 
Log Message:
64bit incompatibility bug, patch by Artur Grabowski <art at blahonga.org>

Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- x11_common.c	17 May 2002 23:51:37 -0000	1.85
+++ x11_common.c	20 May 2002 03:58:55 -0000	1.86
@@ -594,10 +594,11 @@
 	   {
 	    Window root;
 	    int foo;
+	    Window win;
 	    XGetGeometry(mydisplay, vo_window, &root, &foo, &foo, 
 		&foo/*width*/, &foo/*height*/, &foo, &foo);
 	    XTranslateCoordinates(mydisplay, vo_window, root, 0, 0,
-		&vo_dx, &vo_dy, (Window *)&foo);
+		&vo_dx, &vo_dy, &win);
 	    }
 #endif
            ret|=VO_EVENT_RESIZE;




More information about the MPlayer-cvslog mailing list