mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
Fix truncation warning in sys_cond.cpp
This commit is contained in:
parent
25dee4a78e
commit
19500ac9ad
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
verify(HERE), cond->mutex->owner >> 1 == ppu.id;
|
||||||
|
|
||||||
// Restore the recursive value
|
// 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]);
|
return not_an_error(ppu.gpr[3]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue