[libvirt] [PATCH v2 1/7] util: Use unsigned long as a base type for virBitmap

Eric Blake eblake at redhat.com
Tue Feb 22 17:03:43 UTC 2011


On 02/22/2011 09:48 AM, Jiri Denemark wrote:
> 
> ---
> Notes:
>     Version 2:
>     - new patch
> 
>  src/util/bitmap.c |   18 +++++++-----------
>  1 files changed, 7 insertions(+), 11 deletions(-)

ACK, and nice ratio in lines of code, thanks to...

> +#define VIR_BITMAP_BIT(b)         (1UL << VIR_BITMAP_BIT_OFFSET(b))

...this useful addition.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110222/b53a3c5d/attachment-0001.sig>


More information about the libvir-list mailing list