<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
yo, <br>
<br>
ok, you must be right,<br>
well, you can commit the changes..<br>
<br>
but, i don't think a warning should make compiling to fail,<br>
or is -Werror on?<br>
<br>
cheers,<br>
sevy<br>
<br>
Roman Haefeli wrote:
<blockquote cite="mid002901c6784f$9b350310$2201a8c0@musiker" type="cite">hi
all, hi yves
<br>
<br>
i couldn't compile [mp3amp~] on debian i386 and ppc. make exited with:
<br>
<br>
'mp3amp~.c:291: warning: passing arg 6 of `decodeMP3' from incompatible
pointer type'
<br>
<br>
with the nice help of mamalala i changed the line 291:
<br>
<br>
'hframe.framesize+sizeof( unsigned long), (char *) p,
sizeof(x->x_out), &pbytes);'
<br>
<br>
to:
<br>
<br>
'hframe.framesize+sizeof( unsigned long), (char *) p,
sizeof(x->x_out), (int *)&pbytes);'
<br>
<br>
and the line 241:
<br>
<br>
't_int pbytes;'
<br>
<br>
to:
<br>
<br>
'int pbytes;'
<br>
<br>
<br>
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.
<br>
<br>
roman
<br>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
<br>
</body>
</html>