Fix comparison of integer expressions of different signedness Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> --- src/lib/rt-numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/rt-numa.c b/src/lib/rt-numa.c index 1b09cff8d948..548365f50cc4 100644 --- a/src/lib/rt-numa.c +++ b/src/lib/rt-numa.c @@ -52,7 +52,7 @@ int get_available_cpus(struct bitmask *cpumask) int cpu_for_thread_sp(int thread_num, int max_cpus, struct bitmask *cpumask) { - unsigned int m, cpu, i, num_cpus; + int m, cpu, i, num_cpus; num_cpus = numa_bitmask_weight(cpumask); -- 2.40.1