From 25f4ee51798009e0396c59055d8315e753eed485 Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Wed, 25 Apr 2018 14:42:34 +0200 Subject: [PATCH] xenconfig/: Remove spaces after casts MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kletzander Reviewed-by: Ján Tomko --- 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 7db365f363..a2b0708ee3 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 6dcaba98a4..35d52f8a34 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.47.2