Fixed type conversion ambiguity
This commit is contained in:
parent
b07af7dda8
commit
a13ab958cb
32 changed files with 97 additions and 91 deletions
|
@ -90,7 +90,7 @@ void Mutex::UpdatePriority() {
|
|||
if (!holding_thread)
|
||||
return;
|
||||
|
||||
s32 best_priority = THREADPRIO_LOWEST;
|
||||
u32 best_priority = THREADPRIO_LOWEST;
|
||||
for (auto& waiter : GetWaitingThreads()) {
|
||||
if (waiter->current_priority < best_priority)
|
||||
best_priority = waiter->current_priority;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue