提交 61c44f58 编写于 作者: J Ján Tomko

Fix virbitmaptest on 32-bit

My commit 7d8afc47 was passing the incorrect size to
virBitmapDataToString in the newly added test.
上级 1c702778
......@@ -313,7 +313,7 @@ test5(const void *v ATTRIBUTE_UNUSED)
if (STRNEQ(str, "0,9,34"))
goto error;
VIR_FREE(str);
if (!(str = virBitmapDataToString(data2, sizeof(data2))))
if (!(str = virBitmapDataToString(data2, len2)))
goto error;
if (STRNEQ(str, "0,2,9,15,34"))
goto error;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册