changeset 10212:d358fa9a1068

warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
author alex
date Fri, 30 May 2003 18:05:49 +0000
parents 4bc481804519
children 5e15ff3261ff
files libvo/vo_dga.c libvo/vo_x11.c libvo/x11_common.c
diffstat 3 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dga.c	Fri May 30 17:57:41 2003 +0000
+++ b/libvo/vo_dga.c	Fri May 30 18:05:49 2003 +0000
@@ -497,6 +497,7 @@
        // as long as it's above 50 Hz (acki2 on 30/3/2001)
        ||
        (
+	(
 	(new_x == *old_x) &&
 	(new_y == *old_y) &&
 	(
@@ -510,6 +511,7 @@
 	  new_vbi >= 50
 	 )
 	)
+	)
         ||
         // if everything is equal, then use the mode with the lower 
         // stride 
--- a/libvo/vo_x11.c	Fri May 30 17:57:41 2003 +0000
+++ b/libvo/vo_x11.c	Fri May 30 18:05:49 2003 +0000
@@ -262,7 +262,7 @@
    depth = vo_find_depth_from_visuals(mDisplay, mScreen, &visual);
  }
  if ( !XMatchVisualInfo( mDisplay,mScreen,depth,DirectColor,&vinfo ) ||
-      WinID > 0 && vinfo.visualid != XVisualIDFromVisual(attribs.visual))
+      (WinID > 0 && vinfo.visualid != XVisualIDFromVisual(attribs.visual)))
    XMatchVisualInfo( mDisplay,mScreen,depth,TrueColor,&vinfo );
 
  /* set image size (which is indeed neither the input nor output size), 
--- a/libvo/x11_common.c	Fri May 30 17:57:41 2003 +0000
+++ b/libvo/x11_common.c	Fri May 30 18:05:49 2003 +0000
@@ -105,6 +105,8 @@
 XF86VidModeModeLine modeline;
 #endif
 
+int vo_x11_get_fs_type( int supported );
+
 void vo_hidecursor ( Display *disp , Window win )
 {
 	Cursor no_ptr;