mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
mutex.h: fix warning (unary minus unsigned)
This commit is contained in:
parent
d52df9352c
commit
e064b92058
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ public:
|
||||||
|
|
||||||
void unlock_hle()
|
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))
|
if (UNLIKELY(value != c_one))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue