]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bitmap: fix typo to use UL type of integer constant in virBitmapIsAllSet
authorGuannan Ren <gren@redhat.com>
Wed, 28 Nov 2012 06:15:38 +0000 (14:15 +0800)
committerGuannan Ren <gren@redhat.com>
Wed, 28 Nov 2012 10:30:28 +0000 (18:30 +0800)
commit237629d204b0674885a18ae10326938603b214d4
tree8d3cb6516f6e8af43c201697f84cd0219da57a99
parent8927c0eab6681ee4ae014cb37fe60b42c225b8df
bitmap: fix typo to use UL type of integer constant in virBitmapIsAllSet

This bug leads to getting incorrect vcpupin information via
qemudDomainGetVcpuPinInfo() API when the number of maximum
cpu on a host falls into a range such as 31 < ncpus < 64.

gcc warning:
left shift count >= width of type

The following bug is such the case
https://bugzilla.redhat.com/show_bug.cgi?id=876415
src/util/bitmap.c
tests/virbitmaptest.c