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

Re: [Xen-devel] [PATCH] xl: allow scaling suffix on memory sizes in mem-set and mem-max



Jeremy Fitzhardinge writes ("Re: [Xen-devel] [PATCH] xl: allow scaling suffix 
on memory sizes in        mem-set and mem-max"):
> I want it to be signed so I can use -1 as an error indicator.  And I
> want it to be "long long int" rather than int64_t so that the format
> specifier for printf is unambiguous (since int64_t can be just "long" on
> a 64-bit machine).

You can use int64_t and as a format write  "%"PRIi64

Ian.

_______________________________________________
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®.