[v0.91][X86][BUGFIX] Fix annoying compilation issue

This commit is contained in:
Dr-Noob
2020-11-26 13:05:14 +01:00
parent 7c2463eb8f
commit 89e5e30e53

View File

@@ -184,7 +184,7 @@ uint32_t max_apic_id_size(uint32_t** cache_id_apic, struct topology* topo) {
} }
max++; max++;
if(max > topo->total_cores) return max; if(max > (uint32_t) topo->total_cores) return max;
return topo->total_cores; return topo->total_cores;
} }