Commit be3ac45c authored by Juergen Bohl's avatar Juergen Bohl
Browse files

fix signed/unsigned comparison issue (on OpenBSD)

parent e3f0319d
......@@ -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++;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment