From 89e5e30e535abc4466fad998142bf4b771cc0f8f Mon Sep 17 00:00:00 2001 From: Dr-Noob Date: Thu, 26 Nov 2020 13:05:14 +0100 Subject: [PATCH] [v0.91][X86][BUGFIX] Fix annoying compilation issue --- src/x86/apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x86/apic.c b/src/x86/apic.c index b7a2b28..7352016 100644 --- a/src/x86/apic.c +++ b/src/x86/apic.c @@ -184,7 +184,7 @@ uint32_t max_apic_id_size(uint32_t** cache_id_apic, struct topology* topo) { } max++; - if(max > topo->total_cores) return max; + if(max > (uint32_t) topo->total_cores) return max; return topo->total_cores; }