From: Samuel Thibault Subject: Re: Casting 64-bit pointers to integers Date: Fri, 22 May 2009 12:01:43 +0200 Message-ID: <20090522100143.GJ10166@const.famille.thibault.fr> References: <4A1670BB.90101@prgmr.com> <20090522094141.GH10166@const.famille.thibault.fr> <4A167622.2070105@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: <4A167622.2070105@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:53:38 -0700, a =E9crit : > But what would be better is >=20 > return (void*)(uintptr_t)socket_fd Yes, that's the correct way. Samuel