diff options
author | John Kacur <jkacur@redhat.com> | 2023-10-06 12:52:40 -0400 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2023-10-06 12:52:40 -0400 |
commit | a9454e313929ad3f9ae4284fa24aa0b1579eafba (patch) | |
tree | e7f9419e065b35bb9f90f234871ab36f6bdb9578 | |
parent | fd47894cdff00e3da75f8e8bc077858a27b888fe (diff) | |
download | rt-tests-a9454e313929ad3f9ae4284fa24aa0b1579eafba.tar.gz |
rt-tests: rt-numa: Fix comparison of different signedness
Fix comparison of integer expressions of different signedness
Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r-- | src/lib/rt-numa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rt-numa.c b/src/lib/rt-numa.c index 1b09cff..548365f 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); |