On Mon, 2005-02-28 at 15:45 +0100, Andreas Jochens wrote: ... > With the attached patch 'xmms-synaesthesia' can be compiled > on amd64 using gcc-4.0. > > Regards > Andreas Jochens > > diff -urN ../tmp-orig/xmms-synaesthesia-0.0.3/syna_core.c ./syna_core.c > --- ../tmp-orig/xmms-synaesthesia-0.0.3/syna_core.c 2005-02-28 > 15:42:08.651295041 +0100 > +++ ./syna_core.c 2005-02-28 15:42:03.289330000 +0100 > @@ -204,9 +204,9 @@ > gint x, y, i, j, start, end; > gint step = outWidth * 2; > > - lastLastOutput = lastOutput; > - lastOutput = output; > - output = t; > + synx_output[2] = lastOutput; > + synx_output[1] = output; > + synx_output[0] = t; > > for (x = 0, i = 0, j = outWidth * (outHeight - 1) * 2; x < outWidth; > x++, i += 2, j += 2) > { > @@ -278,9 +278,9 @@ > gint x, y, i, j, start, end; > gint step = outWidth * 2; > > - lastLastOutput = lastOutput; > - lastOutput = output; > - output = t; > + synx_output[2] = lastOutput; > + synx_output[1] = output; > + synx_output[0] = t; > > for (x = 0, i = 0, j = outWidth * (outHeight - 1) * 2; x < outWidth; > x++, i += 2, j += 2) > { >
Could you try the version at http://www.nixnuts.net/files/test/ The only differences to your patch is that lastOutput and output are being cast to (guint16 *) and config.{sub|guess} have been updated. I don't have an AMD64 box to test it on. John
signature.asc
Description: This is a digitally signed message part