diff options
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index c10126513..00fa995f6 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -220,7 +220,7 @@ static void SwitchContext(Thread* new_thread) { | |||
| 220 | 220 | ||
| 221 | // Clean up the thread's wait_objects, they'll be restored if needed during | 221 | // Clean up the thread's wait_objects, they'll be restored if needed during |
| 222 | // the svcWaitSynchronization call | 222 | // the svcWaitSynchronization call |
| 223 | for (int i = 0; i < new_thread->wait_objects.size(); ++i) { | 223 | for (size_t i = 0; i < new_thread->wait_objects.size(); ++i) { |
| 224 | SharedPtr<WaitObject> object = new_thread->wait_objects[i]; | 224 | SharedPtr<WaitObject> object = new_thread->wait_objects[i]; |
| 225 | object->RemoveWaitingThread(new_thread); | 225 | object->RemoveWaitingThread(new_thread); |
| 226 | } | 226 | } |