Skip to content

Commit

Permalink
sign comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson committed Jun 8, 2023
1 parent f1d0295 commit b429ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/numa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ inline std::set<int> all_cpus() {
return cpumask_to_set(numa_all_cpus_ptr);
#else
std::set<int> cpus;
for (int i = 0; i < std::thread::hardware_concurrency(); ++i) {
for (size_t i = 0; i < std::thread::hardware_concurrency(); ++i) {
cpus.insert(i);
}
return cpus;
Expand Down

0 comments on commit b429ca4

Please sign in to comment.