From ab48fe799112b22070104201d571cd418d0fda54 Mon Sep 17 00:00:00 2001 From: Erik Skultety Date: Fri, 24 May 2019 12:49:50 +0200 Subject: [PATCH] driver: test: Fix the mingw build caused by wrong printf format specifier Caused by commit 326c3f54. Signed-off-by: Erik Skultety --- src/test/test_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index b29fd12903..7fd06fcfa8 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -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; -- GitLab