mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00: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:
parent
7389b08488
commit
ab48fe7991
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user