"M. Warner Losh" <imp at bsdimp.com> writes: > I like the idea of a macro. Why is a cast through uintptr_t better? Without the uintptr_t cast, you'll get an error, or at least a warning, if the pointer is qualified (const and / or volatile). DES -- Dag-Erling Smørgrav - des at des.no