We're passing size_t but using format for unsigned long.
Introduced in latest vshTable rework patches.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
if (!(pinInfo = virBitmapDataFormat(cpumap, cpumaplen)))
goto cleanup;
- if (virAsprintf(&vcpuStr, "%lu", i) < 0)
+ if (virAsprintf(&vcpuStr, "%zu", i) < 0)
goto cleanup;
if (vshTableRowAppend(table, vcpuStr, pinInfo, NULL) < 0)
for (i = 0; i < nsrvs; i++) {
VIR_AUTOFREE(char *) idStr = NULL;
- if (virAsprintf(&idStr, "%lu", i) < 0)
+ if (virAsprintf(&idStr, "%zu", i) < 0)
goto cleanup;
if (vshTableRowAppend(table,