mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Fix truncation warning in sys_cond.cpp
This commit is contained in:
parent
25dee4a78e
commit
19500ac9ad
@ -299,7 +299,7 @@ error_code sys_cond_wait(ppu_thread& ppu, u32 cond_id, u64 timeout)
|
||||
verify(HERE), cond->mutex->owner >> 1 == ppu.id;
|
||||
|
||||
// Restore the recursive value
|
||||
cond->mutex->lock_count = cond.ret;
|
||||
cond->mutex->lock_count.release(static_cast<u32>(cond.ret));
|
||||
|
||||
return not_an_error(ppu.gpr[3]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user