提交 ab48fe79 编写于 作者: E Erik Skultety

driver: test: Fix the mingw build caused by wrong printf format specifier

Caused by commit 326c3f54.
Signed-off-by: NErik Skultety <eskultet@redhat.com>
上级 7389b084
......@@ -3268,7 +3268,7 @@ testDomainInterfaceAddresses(virDomainPtr dom,
iface->addrs[0].type = VIR_IP_ADDR_TYPE_IPV4;
iface->addrs[0].prefix = 24;
if (virAsprintf(&iface->addrs[0].addr, "192.168.0.%ld", 1 + i) < 0)
if (virAsprintf(&iface->addrs[0].addr, "192.168.0.%zu", 1 + i) < 0)
goto cleanup;
iface->naddrs = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册