Re: [PATCH] Include stdint.h in libvirt.h for INT64_MAX

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

 



On 03/11/2011 02:12 PM, Matthias Bolte wrote:
>> UL still won't work on 32-bit platforms.  You need the LL (or ULL) suffix.
>>
> 
> And now the final v3 for something that should have been a trivial patch :)

application/mbox?  Why not text/plain for the MIME type?

> +++ b/include/libvirt/libvirt.h.in
> @@ -772,7 +772,7 @@ typedef enum {
>   * Macro providing the virMemoryParameter value that indicates "unlimited"
>   */
>  
> -#define VIR_DOMAIN_MEMORY_PARAM_UNLIMITED (INT64_MAX >> 10)
> +#define VIR_DOMAIN_MEMORY_PARAM_UNLIMITED 9007199254740991LL /* = INT64_MAX >> 10 */

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]