summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/geometry.c3
-rw-r--r--libvo/x11_common.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/libvo/geometry.c b/libvo/geometry.c
index f258f1b63e..4f7c45a1a2 100644
--- a/libvo/geometry.c
+++ b/libvo/geometry.c
@@ -1,9 +1,10 @@
/* This file (C) Mark Zealey <mark@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;
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 34e9ebcbd5..0296aa168a 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -737,7 +737,7 @@ void vo_x11_setlayer( Display * mDisplay,Window vo_window,int layer )
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;
}