svn commit: r215178 - in head: lib/libc/sys sys/kern sys/sys

Adrian Chadd adrian at freebsd.org
Sun May 22 08:58:14 UTC 2011


On 15 November 2010 19:56, Ivan Voras <ivoras at freebsd.org> wrote:

> While at it, why not intptr_t? It would be marginally more useful and
> almost free.

Because it can lead to code choices that use the whole 64 bit space
for something other than a single 32 bit integer (say, four 16 bit
words all packed together) which suddenly finds itself breaking on 32
bit platforms. Not that any fine FreeBSD programmers would make such a
mistake. :)

I agree with Luigi.


Adrian


More information about the svn-src-head mailing list