cast to pointer from integer of different size

Jack Howarth howarth@bromo.msbb.uc.edu
Fri Sep 22 13:54:00 GMT 2006


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.
                  Jack



More information about the Gcc mailing list