Subject: Re: PTRTOINT64() / INT64TOPTR()
To: Klaus Klein <kleink@reziprozitaet.de>
From: Andrew Brown <atatat@atatdot.net>
List: tech-kern
Date: 02/18/2004 11:12:48
>> uintptr_t isn't wide enough for this particular purpose (and i'm not
>> sure why unsigned long isn't simply sufficient in either case).
>
>It's not so much about having an adequately-sized type but about
>having a fixed-width one. Having a netbsd32 ps(1) work on a 64-bit
>machine is quite convenient.
no, i know about the netbsd32 thing. i was just pondering the fact
that uintptr_t isn't merely an unsigned long on all platforms.
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
werdna@squooshy.com * "information is power -- share the wealth."