Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2011 16:58:12 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        svn-src-head@freebsd.org, Luigi Rizzo <luigi@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org
Subject:   Re: svn commit: r215178 - in head: lib/libc/sys sys/kern sys/sys
Message-ID:  <BANLkTim_nXtzka-fQpJKSkS6kGxCKZo4_g@mail.gmail.com>
In-Reply-To: <AANLkTinpfy-V79k0mgezJV6QpuUWMG3uOZ0hTY2tN4Rf@mail.gmail.com>
References:  <201011121302.oACD2Qjt009385@svn.freebsd.org> <AANLkTinpfy-V79k0mgezJV6QpuUWMG3uOZ0hTY2tN4Rf@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15 November 2010 19:56, Ivan Voras <ivoras@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTim_nXtzka-fQpJKSkS6kGxCKZo4_g>