]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
cpu: x86: Fix return types of x86cpuidMatch and x86cpuidMatchMasked
authorPeter Krempa <pkrempa@redhat.com>
Mon, 7 Oct 2013 15:15:46 +0000 (17:15 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 15 Oct 2013 14:46:42 +0000 (16:46 +0200)
These return boolean results.

src/cpu/cpu_x86.c

index c9a9e3ea26dbb9d7aa66f3c818ceed0b2633f160..3ef079e8bde3da870a2ca91aecb8036ced288cef 100644 (file)
@@ -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)
 {