Global: Fix some int/size_t conversion warnings.

This commit is contained in:
Unknown W. Brackets
2022-03-13 12:03:48 -07:00
parent da4b9e82f3
commit ffbd9bbe98
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ void ThreadManager::EnqueueTask(Task *task) {
}
// Find a thread with no outstanding work.
_assert_(maxThread <= global_->threads_.size());
_assert_(maxThread <= (int)global_->threads_.size());
for (int threadNum = minThread; threadNum < maxThread; threadNum++) {
ThreadContext *thread = global_->threads_[threadNum];
if (thread->queue_size.load() == 0) {