mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
Fix virbitmaptest on 32-bit
My commit 7d8afc4
was passing the incorrect size to
virBitmapDataToString in the newly added test.
This commit is contained in:
parent
1c70277886
commit
61c44f589b
@ -313,7 +313,7 @@ test5(const void *v ATTRIBUTE_UNUSED)
|
|||||||
if (STRNEQ(str, "0,9,34"))
|
if (STRNEQ(str, "0,9,34"))
|
||||||
goto error;
|
goto error;
|
||||||
VIR_FREE(str);
|
VIR_FREE(str);
|
||||||
if (!(str = virBitmapDataToString(data2, sizeof(data2))))
|
if (!(str = virBitmapDataToString(data2, len2)))
|
||||||
goto error;
|
goto error;
|
||||||
if (STRNEQ(str, "0,2,9,15,34"))
|
if (STRNEQ(str, "0,2,9,15,34"))
|
||||||
goto error;
|
goto error;
|
||||||
|
Loading…
Reference in New Issue
Block a user