[PD] [mp3amp~] didn't compile
Yves Degoyon
ydegoyon at free.fr
Tue May 16 23:15:17 CEST 2006
yo,
ok, you must be right,
well, you can commit the changes..
but, i don't think a warning should make compiling to fail,
or is -Werror on?
cheers,
sevy
Roman Haefeli wrote:
> 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
>
>------------------------------------------------------------------------
>
>_______________________________________________
>PD-list at iem.at mailing list
>UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060516/f11d3eb5/attachment.htm>
More information about the Pd-list
mailing list