projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[runtime] A bunch of small fixes.
[mono.git]
/
mono
/
metadata
/
threadpool-ms.c
diff --git
a/mono/metadata/threadpool-ms.c
b/mono/metadata/threadpool-ms.c
index 1f4a6cc605237a36e6f13c3a28acc3c229086dff..87c976b48739179b813cc7a1364e23d7745df73e 100644
(file)
--- a/
mono/metadata/threadpool-ms.c
+++ b/
mono/metadata/threadpool-ms.c
@@
-476,7
+476,7
@@
domain_get_next (ThreadPoolDomain *current)
break;
}
}
- g_assert (current_idx
>= 0
);
+ g_assert (current_idx
!= (guint)-1
);
}
for (i = current_idx + 1; i < len + current_idx + 1; ++i) {
ThreadPoolDomain *tmp = (ThreadPoolDomain *)g_ptr_array_index (threadpool->domains, i % len);