changeset 13828:b4ad5f0b550d

Fix erroneus extern declarations, fix wrong signedness of some vars
author atmos4
date Sun, 31 Oct 2004 18:01:14 +0000
parents 374178b2a49a
children 87f739790de5
files libvo/x11_common.c
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Sun Oct 31 15:40:47 2004 +0000
+++ b/libvo/x11_common.c	Sun Oct 31 18:01:14 2004 +0000
@@ -165,7 +165,7 @@
     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 @@
     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_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;