From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: sizeof(long) different under windows x64 and linuxx64 Date: Wed, 23 Jan 2008 01:01:08 +0000 Message-ID: <20080123010108.GC6741@implementation> References: <20080123004707.GB6741@implementation> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: James Harper Cc: xen-devel , Daniel Stodden List-Id: xen-devel@lists.xenproject.org James Harper, le Wed 23 Jan 2008 11:55:50 +1100, a écrit : > > > > > > Any suggestions as to what the type should be called? > > > > Just the standard name: uintptr_t > > > > Can you qualify 'standard' in that context (eg Linux, gcc, POSIX, etc). C99 > I don't ever remember hearing of that field before. Is it a type defined > as 'an integer with the same width as a pointer'? « The following type designates an unsigned integer type with the property that any valid pointer to void can be converted to this type, then converted back to pointer to void, and the result will compare equal to the original pointer: uintptr_t » Samuel