diff options
| author | Sebastian Valle <subv2112@gmail.com> | 2017-09-30 08:22:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-30 08:22:14 -0500 |
| commit | 53d74215b24d4e390f380bc8aa113cdcbf377148 (patch) | |
| tree | 016f6866d15fb9a41a15666f492bed352d95b523 /src/core/hle/kernel/wait_object.cpp | |
| parent | e2a34ccd8925a311edf4d8c04164fa0c569f2ea7 (diff) | |
| parent | da1c8d152285c5ed4b2dcb9915b886555c99610f (diff) | |
Merge pull request #2962 from huwpascoe/static_cast
Fixed type conversion ambiguity
Diffstat (limited to 'src/core/hle/kernel/wait_object.cpp')
| -rw-r--r-- | src/core/hle/kernel/wait_object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/wait_object.cpp b/src/core/hle/kernel/wait_object.cpp index f245eda6cd..56fdd977fd 100644 --- a/src/core/hle/kernel/wait_object.cpp +++ b/src/core/hle/kernel/wait_object.cpp @@ -34,7 +34,7 @@ void WaitObject::RemoveWaitingThread(Thread* thread) { SharedPtr<Thread> WaitObject::GetHighestPriorityReadyThread() { Thread* candidate = nullptr; - s32 candidate_priority = THREADPRIO_LOWEST + 1; + u32 candidate_priority = THREADPRIO_LOWEST + 1; for (const auto& thread : waiting_threads) { // The list of waiting threads must not contain threads that are not waiting to be awakened. |
