On 5/4/20 10:24 AM, Philippe Mathieu-Daudé wrote: > + if (cpu_count) { > + size_t i; > + > + for (i = 0; i < cpu_count; ++i) { > + arm_cpu_register(&arm_cpus[i]); > + } > + }
You can use int instead of size_t to avoid the i < 0 type warning. r~
On 5/4/20 10:24 AM, Philippe Mathieu-Daudé wrote: > + if (cpu_count) { > + size_t i; > + > + for (i = 0; i < cpu_count; ++i) { > + arm_cpu_register(&arm_cpus[i]); > + } > + }
You can use int instead of size_t to avoid the i < 0 type warning. r~