[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] xenconfig: fix compilation error



Commit 03d0959a introduced a compilation error in
src/xenconfig/xen_xl.c on ARM. Found by Xen's osstest

http://logs.test-lab.xenproject.org/osstest/logs/116216/build-armhf-libvirt/6.ts-libvirt-build.log
Signed-off-by: Jim Fehlig <jfehlig suse com>
---

Pushing under the build-breaker rule.

 src/xenconfig/xen_xl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xenconfig/xen_xl.c b/src/xenconfig/xen_xl.c
index 05146d7db..984024bba 100644
--- a/src/xenconfig/xen_xl.c
+++ b/src/xenconfig/xen_xl.c
@@ -1261,11 +1261,11 @@ xenFormatXLVnuma(virConfValuePtr list,
     numaVnode->list = NULL;
 
     /* pnode */
-    virBufferAsprintf(&buf, "pnode=%ld", node);
+    virBufferAsprintf(&buf, "pnode=%zu", node);
     xenFormatXLVnode(numaVnode, &buf);
 
     /* size */
-    virBufferAsprintf(&buf, "size=%ld", nodeSize);
+    virBufferAsprintf(&buf, "size=%zu", nodeSize);
     xenFormatXLVnode(numaVnode, &buf);
 
     /* vcpus */
-- 
2.15.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]