Blob Blame History Raw
From a7fe351dd627d6aca3cb00c53bce66df74a98fba Mon Sep 17 00:00:00 2001
Message-Id: <a7fe351dd627d6aca3cb00c53bce66df74a98fba.1383922566.git.jdenemar@redhat.com>
From: Peter Krempa <pkrempa@redhat.com>
Date: Fri, 8 Nov 2013 12:33:25 +0100
Subject: [PATCH] cpu: x86: Fix return types of x86cpuidMatch and
 x86cpuidMatchMasked

https://bugzilla.redhat.com/show_bug.cgi?id=1008989

These return boolean results.

(cherry picked from commit 57d27a84a39359dba1dd50741cff61c535895e08)

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
---
 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 93a2372..6c599f8 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)
 {
-- 
1.8.4.2