changeset 6140:44dcc49a0d80

64bit incompatibility bug, patch by Artur Grabowski <art@blahonga.org>
author arpi
date Mon, 20 May 2002 04:00:25 +0000
parents 3898967fcc96
children 9e59571da67d
files libvo/x11_common.c postproc/yuv2rgb.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Mon May 20 03:51:58 2002 +0000
+++ b/libvo/x11_common.c	Mon May 20 04:00:25 2002 +0000
@@ -594,10 +594,11 @@
 	   {
 	    Window root;
 	    int foo;
+	    Window win;
 	    XGetGeometry(mydisplay, vo_window, &root, &foo, &foo, 
 		&foo/*width*/, &foo/*height*/, &foo, &foo);
 	    XTranslateCoordinates(mydisplay, vo_window, root, 0, 0,
-		&vo_dx, &vo_dy, (Window *)&foo);
+		&vo_dx, &vo_dy, &win);
 	    }
 #endif
            ret|=VO_EVENT_RESIZE;
--- a/postproc/yuv2rgb.c	Mon May 20 03:51:58 2002 +0000
+++ b/postproc/yuv2rgb.c	Mon May 20 04:00:25 2002 +0000
@@ -407,7 +407,7 @@
     uint32_t *table_32 = 0;
     uint16_t *table_16 = 0;
     uint8_t *table_8 = 0;
-    uint32_t entry_size = 0;
+    int entry_size = 0;
     void *table_r = 0, *table_g = 0, *table_b = 0;
 
     int crv = Inverse_Table_6_9[matrix_coefficients][0];