mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
mutex.h: fix warning (unary minus unsigned)
This commit is contained in:
parent
d52df9352c
commit
e064b92058
|
|
@ -121,7 +121,7 @@ public:
|
|||
|
||||
void unlock_hle()
|
||||
{
|
||||
const u32 value = atomic_storage<u32>::fetch_add_hle_rel(m_value.raw(), -c_one);
|
||||
const u32 value = atomic_storage<u32>::fetch_add_hle_rel(m_value.raw(), 0u - c_one);
|
||||
|
||||
if (UNLIKELY(value != c_one))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue