Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
src/cpu/cpu_ppc64.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cpu/cpu_ppc64.c b/src/cpu/cpu_ppc64.c
index 76582d4083bb..c79442c23bbd 100644
--- a/src/cpu/cpu_ppc64.c
+++ b/src/cpu/cpu_ppc64.c
@@ -94,7 +94,7 @@ ppc64CheckCompatibilityMode(const char *host_model,
/* Valid host CPUs: POWER6, POWER7, POWER8, POWER9 */
if (!STRPREFIX(host_model, "POWER") ||
- !(tmp = (char *) host_model + strlen("POWER")) ||
+ !(tmp = (char *)host_model + strlen("POWER")) ||
virStrToLong_i(tmp, NULL, 10, &host) < 0 ||
host < 6 || host > 9) {
virReportError(VIR_ERR_INTERNAL_ERROR,
@@ -105,7 +105,7 @@ ppc64CheckCompatibilityMode(const char *host_model,
/* Valid compatibility modes: power6, power7, power8, power9 */
if (!STRPREFIX(compat_mode, "power") ||
- !(tmp = (char *) compat_mode + strlen("power")) ||
+ !(tmp = (char *)compat_mode + strlen("power")) ||
virStrToLong_i(tmp, NULL, 10, &compat) < 0 ||
compat < 6 || compat > 9) {
virReportError(VIR_ERR_INTERNAL_ERROR,
--
2.17.0