> > Also, the UL[L] should probably be on the inside of the ():
> >
> >     stacklow => '(~0xfffULL)',
>
> I still don't see this one is safer than my proposal.
>
>        ~((uintptr_t) 0xfff);

Well, if you ever want to specify a constant longer than 0x7fffffff, you'd
better put a 'u', 'ul' or 'ull' after it or it will be truncated before it
ever gets to the cast.  You could then add (uintptr_t) to it, but won't
the compiler complain if you try to use the ~ on a pointer?  Or is
uintptr_t actually an integer type?

- D

<[EMAIL PROTECTED]>

Reply via email to