fix signed/unsigned comparison issue (on OpenBSD)

This commit is contained in:
Juergen Bohl 2020-04-12 15:31:02 +02:00
parent e3f0319d89
commit be3ac45cf6

View File

@ -208,7 +208,7 @@ size_t GetThreadCount() {
// exclude empty members
int nthreads = 0;
for (int i = 0; i < size / mib[4]; i++) {
for (size_t i = 0; i < size / mib[4]; i++) {
if (info[i].p_tid != -1)
nthreads++;
}