# HG changeset patch # User arpi # Date 1021867225 0 # Node ID 44dcc49a0d80f3d91c90ed88996cc7f5b7c9960d # Parent 3898967fcc96a7190f626b17e90bae8a925445e1 64bit incompatibility bug, patch by Artur Grabowski diff -r 3898967fcc96 -r 44dcc49a0d80 libvo/x11_common.c --- 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; diff -r 3898967fcc96 -r 44dcc49a0d80 postproc/yuv2rgb.c --- 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];