* Fixes some cast warnings, partially fixes citra #3064 * Converted casts to uint32_t to u32 * Ran clang-format
This commit is contained in:
parent
7b219539a9
commit
dd62f125c3
6 changed files with 22 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue