summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-31 18:01:14 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-31 18:01:14 +0000
commit8aa920c937b64baf83f80556bb4f1ced875c0bbe (patch)
tree17693e63ae486c014183f33c815042851d44fcb0 /libvo
parenta2f47e9648ef4a4c413c5103927e3103aa5f9d94 (diff)
downloadmpv-8aa920c937b64baf83f80556bb4f1ced875c0bbe.tar.bz2
mpv-8aa920c937b64baf83f80556bb4f1ced875c0bbe.tar.xz
Fix erroneus extern declarations, fix wrong signedness of some vars
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13829 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 3e7d477028..df51192b8c 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -165,7 +165,7 @@ void vo_hidecursor(Display * disp, Window win)
Pixmap bm_no;
XColor black, dummy;
Colormap colormap;
- static unsigned char bm_no_data[] = { 0, 0, 0, 0, 0, 0, 0, 0 };
+ static char bm_no_data[] = { 0, 0, 0, 0, 0, 0, 0, 0 };
if (WinID == 0)
return; // do not hide, if we're playing at rootwin
@@ -851,8 +851,6 @@ typedef struct
long state;
} MotifWmHints;
-extern MotifWmHints vo_MotifWmHints;
-extern Atom vo_MotifHints;
extern int vo_depthonscreen;
extern int vo_screenwidth;
extern int vo_screenheight;
@@ -1777,8 +1775,8 @@ void vo_x11_xinerama_move(Display * dsp, Window w)
void vo_vm_switch(uint32_t X, uint32_t Y, int *modeline_width,
int *modeline_height)
{
- unsigned int vm_event, vm_error;
- unsigned int vm_ver, vm_rev;
+ int vm_event, vm_error;
+ int vm_ver, vm_rev;
int i, j, have_vm = 0;
int modecount;