Silence -Wsign-compare warnings.
This commit is contained in:
parent
87eca546b2
commit
32391cffdd
4 changed files with 9 additions and 9 deletions
|
@ -220,7 +220,7 @@ static void SwitchContext(Thread* new_thread) {
|
|||
|
||||
// Clean up the thread's wait_objects, they'll be restored if needed during
|
||||
// the svcWaitSynchronization call
|
||||
for (int i = 0; i < new_thread->wait_objects.size(); ++i) {
|
||||
for (size_t i = 0; i < new_thread->wait_objects.size(); ++i) {
|
||||
SharedPtr<WaitObject> object = new_thread->wait_objects[i];
|
||||
object->RemoveWaitingThread(new_thread);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue