From: Tim Deegan Subject: Re: [PATCH] xenalyze: Use types which have consistent sizes across 32- and 64-bit compiles Date: Thu, 25 Nov 2010 11:22:01 +0000 Message-ID: <20101125112201.GI19638@whitby.uk.xensource.com> References: <9b3c5bb22b50106a254d.1290426236@gdunlap-desktop> <20101125111758.GA13724@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: <20101125111758.GA13724@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering Cc: George Dunlap , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org At 11:17 +0000 on 25 Nov (1290683878), Olaf Hering wrote: > On Mon, Nov 22, George Dunlap wrote: > > > Always use [unsigned] long long for 64-bit, [unsigned] int for 32-bit. > > George, > > there are two unsigned long left in hvm_mmio_assist_process(). > I think the sizeof(unsigned long) should be sizeof(unsigned int). Why not use the stdint.h explicit-width types? Tim. -- Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)