From 57d27a84a39359dba1dd50741cff61c535895e08 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 7 Oct 2013 17:15:46 +0200 Subject: [PATCH] cpu: x86: Fix return types of x86cpuidMatch and x86cpuidMatchMasked These return boolean results. --- src/cpu/cpu_x86.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c index c9a9e3ea26..3ef079e8bd 100644 --- a/src/cpu/cpu_x86.c +++ b/src/cpu/cpu_x86.c @@ -90,7 +90,7 @@ struct virCPUx86DataIterator { { data, -1, false } -static int +static bool x86cpuidMatch(const virCPUx86CPUID *cpuid1, const virCPUx86CPUID *cpuid2) { @@ -101,7 +101,7 @@ x86cpuidMatch(const virCPUx86CPUID *cpuid1, } -static int +static bool x86cpuidMatchMasked(const virCPUx86CPUID *cpuid, const virCPUx86CPUID *mask) { -- GitLab