Silence -Wsign-compare warnings.

This commit is contained in:
Rohit Nirmal committed 2015-10-06 22:16:15 -05:00
1 parent 87eca546b2
commit 32391cffdd
4 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -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);
}