Trying to eliminate optimizations on some functions with VC++

tarvydas tarvydas at allstream.net
Sun Aug 8 13:57:11 PDT 2004


On Sunday 08 August 2004 04:43 pm, Paul Dufresne wrote:
> static INLINE signed long int ObjectPointer_asSmallInt(ObjectPointer oop)
> {
>   return (signed long int) oop >> 1;
> }

Try

return ((signed long int) oop) >> 1;

pt




More information about the Slate mailing list