On Fri, 2006-09-22 at 09:33 -0400, Jack Howarth wrote: > Peter, > Looking at the libffi/src/powerpc/ffi.c file, I assume that > I should have the same... > > *next_arg++ = (unsigned long)(char *)ecif->rvalue; > > in ffi_darwin.c instead of the current... > > *next_arg++ = (unsigned)(char *)ecif->rvalue; > > Does that sound right? If so, I'll file a PR for this > as well and do a test build tonight.
That in itself isn't sufficient, since next_arg is defined as an unsigned * pointer. That would also need to be changed to unsigned long *next_arg. Peter