From 1a45b15a8c29421756524139845ff28a7f5b6e34 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 5 Aug 2020 15:07:17 -0400 Subject: address_arbiter: Resolve sign conversion warning Makes our type conversion explicit. --- src/core/hle/kernel/address_arbiter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/hle/kernel/address_arbiter.cpp b/src/core/hle/kernel/address_arbiter.cpp index df0debe1b..b882eaa0f 100644 --- a/src/core/hle/kernel/address_arbiter.cpp +++ b/src/core/hle/kernel/address_arbiter.cpp @@ -81,7 +81,7 @@ ResultCode AddressArbiter::IncrementAndSignalToAddressIfEqual(VAddr address, s32 do { current_value = monitor.ExclusiveRead32(current_core, address); - if (current_value != value) { + if (current_value != static_cast(value)) { return ERR_INVALID_STATE; } current_value++; -- cgit v1.2.3