From ce3b585bc4cec7db88da010651fe9fad15bf7173 Mon Sep 17 00:00:00 2001 From: Jim Fehlig Date: Fri, 17 Nov 2017 10:35:12 -0700 Subject: [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 --- 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 05146d7db4..984024bbaf 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 */ -- GitLab