"M. Warner Losh" <i...@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 - d...@des.no
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to