From: Samuel Thibault Subject: Re: Casting 64-bit pointers to integers Date: Fri, 22 May 2009 11:41:41 +0200 Message-ID: <20090522094141.GH10166@const.famille.thibault.fr> References: <4A1670BB.90101@prgmr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <4A1670BB.90101@prgmr.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Michael David Crawford Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Michael David Crawford, le Fri 22 May 2009 02:30:35 -0700, a =E9crit : > There are typedefs for integers with specific numbers of bits, but=20 > that's not what we want. If we're building for 32-bit, we want a 32-bi= t=20 > integer, and if we're building for 64-bit, we want a 64-bit integer. intptr_t/uintptr_t is there for this. Samuel