On Tue, Mar 17, 2009 at 08:18:33PM +0100, Kurt Roeckx wrote:

> Hi,

Hi!

> Your package is failing to build with the following error:
> In file included from dataformat.c:194:
> convert_inc.c:120: error: expected ')' before '*' token
> In file included from dataformat.c:233:
> convert_inc.c:120: error: expected ')' before '*' token
> dataformat.c:255: error: 'convert_pcm24ule_float' undeclared here (not in a 
> function)
> dataformat.c:256: error: 'convert_pcm24ule_double' undeclared here (not in a 
> function)
> make[3]: *** [dataformat.o] Error 1


I've checked with pbuilder:

   - works on i386, amd64
   - fails on powerpc, sparc


Fix is easy, it's a typo in the big-endian ifdef branch. Patch attached.


Cheerio

JFTR: Next time, please provide some kind of platform information, i.e.
saying "powerpc". Thanks.


-- 
mail: a...@thur.de      http://adi.thur.de      PGP/GPG: key via keyserver
--- src/convert_inc.c	2009-03-17 22:01:30.000000000 +0100
+++ src/convert_inc.c.new	2009-03-17 22:36:04.000000000 +0100
@@ -117,7 +117,7 @@
      }
 }
 
-static void C_PCM24ULE_FLOAT(guin32 *in, FTYPE *out, int count)
+static void C_PCM24ULE_FLOAT(guint32 *in, FTYPE *out, int count)
 {
      unsigned long l0,l1,l2,m;
      unsigned char *c;

Reply via email to