Fix truncation warning in sys_cond.cpp

This commit is contained in:
Eladash 2020-08-17 17:22:35 +03:00 committed by Ani
parent 25dee4a78e
commit 19500ac9ad

View File

@ -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]);
}