Re: Is libc6 OK on powerpc?
On Thu, Mar 22, 2001 at 08:57:56AM -0800, David J. Roundy wrote:
> On Wed, Mar 21, 2001 at 02:21:09PM -0500, Daniel Jacobowitz wrote:
> >
> > Somewhere, you left out one of the va_arg calls. It'll be using a char
> > or short argument. This is illegal C; only promoted types (int,
> > pointers, etc) may be given to va_arg.
>
> This was indeed the problem. The bug was with a call of va_arg(ap,boolean)
> which should have been an int.
>
> With the patch below it compiles and runs just fine.
>
Thanks! I'll put the patch in soon :)
Thanks for the pointers, all!
Drew
--
PGP public key available at http://dparsons.webjump.com/drewskey.txt
Fingerprint: A110 EAE1 D7D2 8076 5FE0 EC0A B6CE 7041 6412 4E4A
Reply to: