mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
driver: test: Fix the mingw build caused by wrong printf format specifier
Caused by commit 326c3f54.
Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user