[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xenalyze: Use types which have consistent sizes across 32- and 64-bit compiles



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 <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.