[Mplayer-cvslog] CVS: main/libvo geometry.c,1.6,1.7 x11_common.c,1.135,1.136

Arpi of Ize arpi at mplayerhq.hu
Sun Feb 2 03:43:02 CET 2003


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

Modified Files:
	geometry.c x11_common.c 
Log Message:
compiler warning fixes patch by Dominik Mierzejewski <dominik at rangers.eu.org>


Index: geometry.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/geometry.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- geometry.c	4 Jan 2003 13:12:13 -0000	1.6
+++ geometry.c	2 Feb 2003 02:42:59 -0000	1.7
@@ -1,9 +1,10 @@
 /* This file (C) Mark Zealey <mark at zealos.org> 2002, released under GPL */
 
+#include <stdio.h>
+#include <string.h>
 #include "geometry.h"
 #include "../mp_msg.h"
 #include "../mplayer.h" /* exit_player() */
-#include <string.h>
 
 /* A string of the form [WxH][+X+Y] or xpos[%]:ypos[%] */
 char *vo_geometry = NULL;

Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -r1.135 -r1.136
--- x11_common.c	9 Jan 2003 21:23:54 -0000	1.135
+++ x11_common.c	2 Feb 2003 02:42:59 -0000	1.136
@@ -737,7 +737,7 @@
     xev.data.l[0] = layer?ice_layer:orig_layer; // if not fullscreen, stay on default layer
     xev.data.l[1] = CurrentTime;
     mp_dbg( MSGT_VO,MSGL_STATUS,"[x11] Layered style stay on top ( layer %d ).\n",xev.data.l[0] );
-    printf( "[x11] Layered style stay on top ( layer %d ).\n",xev.data.l[0] );
+    printf( "[x11] Layered style stay on top ( layer %d ).\n",(int)xev.data.l[0] );
     XSendEvent(mDisplay, mRootWin, False, SubstructureNotifyMask, (XEvent *) &xev);
     break;
   }



More information about the MPlayer-cvslog mailing list