On Friday 22 September 2006 16:56, Dave Korn wrote: > On 22 September 2006 16:01, Ian Lance Taylor wrote: > > [EMAIL PROTECTED] (Jack Howarth) writes: > >> Looking at the libffi/src/powerpc/ffi.c file, I assume that I should > >> have the same... > >> > >> *next_arg++ = (unsigned long)(char *)ecif->rvalue; > > > > Sure looks like you want uintptr_t there. I think using "unsigned > > long" is just setting yourself up for failure on some future system. > > 64 bits ought to be enough for anybody! </famouslastwords>
I think Ian means there are stupid, broken systems where long is smaller than a pointer (64-bit windows anyone?). Paul