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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list