mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v0.91][X86][BUGFIX] Fix annoying compilation issue
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user