Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx> --- src/xenconfig/xen_common.c | 4 ++-- src/xenconfig/xen_xl.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xenconfig/xen_common.c b/src/xenconfig/xen_common.c index 7db365f36341..a2b0708ee309 100644 --- a/src/xenconfig/xen_common.c +++ b/src/xenconfig/xen_common.c @@ -268,7 +268,7 @@ xenConfigSetInt(virConfPtr conf, const char *setting, long long l) { virConfValuePtr value = NULL; - if ((long) l != l) { + if ((long)l != l) { virReportError(VIR_ERR_OVERFLOW, _("failed to store %lld to %s"), l, setting); return -1; @@ -1673,7 +1673,7 @@ xenFormatCPUFeatures(virConfPtr conf, virDomainDefPtr def) } for (i = 0; i < def->clock.ntimers; i++) { - switch ((virDomainTimerNameType) def->clock.timers[i]->name) { + switch ((virDomainTimerNameType)def->clock.timers[i]->name) { case VIR_DOMAIN_TIMER_NAME_TSC: switch (def->clock.timers[i]->mode) { case VIR_DOMAIN_TIMER_MODE_NATIVE: diff --git a/src/xenconfig/xen_xl.c b/src/xenconfig/xen_xl.c index 6dcaba98a439..35d52f8a34c1 100644 --- a/src/xenconfig/xen_xl.c +++ b/src/xenconfig/xen_xl.c @@ -1601,7 +1601,7 @@ xenFormatXLDiskSrc(virStorageSourcePtr src, char **srcstr) if (virStorageSourceIsEmpty(src)) return 0; - switch ((virStorageType) actualType) { + switch ((virStorageType)actualType) { case VIR_STORAGE_TYPE_BLOCK: case VIR_STORAGE_TYPE_FILE: case VIR_STORAGE_TYPE_DIR: -- 2.17.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list