summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorRohit Nirmal <rohitnirmal9@gmail.com>2015-10-07 04:28:19 +0200
committerRohit Nirmal <rohitnirmal9@gmail.com>2015-10-07 05:16:15 +0200
commit32391cffdda059f23258b535f386732084d1cac9 (patch)
tree500eb7180aae531f23d29bec2ea054c661c01cc5 /src/core/hle
parentMerge pull request #1164 from kemenaran/qt-high-dpi-fixes (diff)
downloadyuzu-32391cffdda059f23258b535f386732084d1cac9.tar
yuzu-32391cffdda059f23258b535f386732084d1cac9.tar.gz
yuzu-32391cffdda059f23258b535f386732084d1cac9.tar.bz2
yuzu-32391cffdda059f23258b535f386732084d1cac9.tar.lz
yuzu-32391cffdda059f23258b535f386732084d1cac9.tar.xz
yuzu-32391cffdda059f23258b535f386732084d1cac9.tar.zst
yuzu-32391cffdda059f23258b535f386732084d1cac9.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/thread.cpp2
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) {
// 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);
}