diff options
| author | 2015-10-07 10:32:19 -0400 | |
|---|---|---|
| committer | 2015-10-07 10:32:19 -0400 | |
| commit | 2599d34c96368cb01c80534ca076cfe79445fb88 (patch) | |
| tree | 500eb7180aae531f23d29bec2ea054c661c01cc5 /src/core | |
| parent | Merge pull request #1164 from kemenaran/qt-high-dpi-fixes (diff) | |
| parent | Silence -Wsign-compare warnings. (diff) | |
| download | yuzu-2599d34c96368cb01c80534ca076cfe79445fb88.tar.gz yuzu-2599d34c96368cb01c80534ca076cfe79445fb88.tar.xz yuzu-2599d34c96368cb01c80534ca076cfe79445fb88.zip | |
Merge pull request #1190 from rohit-n/sign-compare
Silence -Wsign-compare warnings.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 | ||||
| -rw-r--r-- | src/core/hw/y2r.cpp | 2 |
2 files changed, 2 insertions, 2 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 | } |
diff --git a/src/core/hw/y2r.cpp b/src/core/hw/y2r.cpp index 15f96ced8..48c45564f 100644 --- a/src/core/hw/y2r.cpp +++ b/src/core/hw/y2r.cpp | |||
| @@ -324,7 +324,7 @@ void PerformConversion(ConversionConfiguration& cvt) { | |||
| 324 | 324 | ||
| 325 | u32* output_buffer = reinterpret_cast<u32*>(data_buffer.get()); | 325 | u32* output_buffer = reinterpret_cast<u32*>(data_buffer.get()); |
| 326 | 326 | ||
| 327 | for (int i = 0; i < num_tiles; ++i) { | 327 | for (size_t i = 0; i < num_tiles; ++i) { |
| 328 | int image_strip_width = 0; | 328 | int image_strip_width = 0; |
| 329 | int output_stride = 0; | 329 | int output_stride = 0; |
| 330 | 330 | ||