On Sat, Jun 09, 2001 at 12:49:40AM -0700, Damien Neil wrote:
> On Thu, Jun 07, 2001 at 12:47:30PM -0500, Jacques A. Vidrine wrote:
> > C99 says of uintptr_t only that for any valid pointer p, the following
> > is true:
> >
> > (void *)(uintptr_t)p == (void *)p
> >
> > Likewise for intptr_t. I read that as covering both code and data
> > pointers.
>
> C89, at least, does not guarantee that you can convert between code
> and data pointers. I believe the same holds for C99.
Agreed. The original point was whether or not a uintptr_t was big
enough for both types of pointers.
Cheers,
--
Jacques Vidrine / [EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message