Silence -Wsign-compare warnings.

This commit is contained in:
Rohit Nirmal 2015-10-06 21:28:19 -05:00
parent 87eca546b2
commit 32391cffdd
4 changed files with 9 additions and 9 deletions

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);
}

View file

@ -324,7 +324,7 @@ void PerformConversion(ConversionConfiguration& cvt) {
u32* output_buffer = reinterpret_cast<u32*>(data_buffer.get());
for (int i = 0; i < num_tiles; ++i) {
for (size_t i = 0; i < num_tiles; ++i) {
int image_strip_width = 0;
int output_stride = 0;