diff options
| author | River City Ransomware <richyateswebdesign@gmail.com> | 2018-01-19 18:01:41 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-01-19 18:01:41 -0500 |
| commit | 39827d573a441a9c4f3e2b3e8bcc6e965adafa76 (patch) | |
| tree | 0d543402a25f4ba701dc547808b289daa0fc325b /src/core/hle/kernel/condition_variable.cpp | |
| parent | 1a1bb5810a1b831923fd275bc85f9ddfe23ceaab (diff) | |
Fixes some cast warnings, partial port of citra #3064 (#106)
* Fixes some cast warnings, partially fixes citra #3064
* Converted casts to uint32_t to u32
* Ran clang-format
Diffstat (limited to 'src/core/hle/kernel/condition_variable.cpp')
| -rw-r--r-- | src/core/hle/kernel/condition_variable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/condition_variable.cpp b/src/core/hle/kernel/condition_variable.cpp index 5942eae61d..5616663847 100644 --- a/src/core/hle/kernel/condition_variable.cpp +++ b/src/core/hle/kernel/condition_variable.cpp @@ -43,7 +43,7 @@ void ConditionVariable::Acquire(Thread* thread) { ResultCode ConditionVariable::Release(s32 target) { if (target == -1) { // When -1, wake up all waiting threads - SetAvailableCount(GetWaitingThreads().size()); + SetAvailableCount(static_cast<s32>(GetWaitingThreads().size())); WakeupAllWaitingThreads(); } else { // Otherwise, wake up just a single thread |
