[PD] [mp3amp~] didn't compile

Roman Haefeli reduzierer at yahoo.de
Mon May 15 20:44:32 CEST 2006


hi all, hi yves

i couldn't compile [mp3amp~] on debian i386 and ppc. make exited with:

'mp3amp~.c:291: warning: passing arg 6 of `decodeMP3' from incompatible 
pointer type'

with the nice help of mamalala i changed the line 291:

'hframe.framesize+sizeof( unsigned long), (char *) p, sizeof(x->x_out), 
&pbytes);'

to:

'hframe.framesize+sizeof( unsigned long), (char *) p, sizeof(x->x_out), (int 
*)&pbytes);'

and the line 241:

't_int     pbytes;'

to:

'int     pbytes;'


i'm not a c-programmer at all, but after this changes i could compile it 
without any warning, it compiled also fine on ppc, where i had the same 
troubles befor. i'm also not sure, who is actually maintaining it.  i'd like 
to ask the maintainer to submit this changes, if nothing speaks against it.

roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp3amp~.c
Type: application/octet-stream
Size: 43327 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060515/17761920/attachment.obj>


More information about the Pd-list mailing list