diff --git a/tools/virsh.c b/tools/virsh.c index e82ddae95c6acb74e37fc56d09d50d0ab079d2f4..f96ee040df4540d71cfec7858fc9cd3a78eddf95 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -3025,7 +3025,7 @@ cmdVcpuPin(vshControl *ctl, const vshCmd *cmd) bool ret = true; unsigned char *cpumap = NULL; unsigned char *cpumaps = NULL; - int cpumaplen; + size_t cpumaplen; bool bit, lastbit, isInvert; int i, cpu, lastcpu, maxcpu, ncpus; bool unuse = false;