mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-03 14:29:58 +00:00
address_arbiter: Resolve sign conversion warning
Makes our type conversion explicit.
This commit is contained in:
parent
07691f994a
commit
1a45b15a8c
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ ResultCode AddressArbiter::IncrementAndSignalToAddressIfEqual(VAddr address, s32
|
||||||
do {
|
do {
|
||||||
current_value = monitor.ExclusiveRead32(current_core, address);
|
current_value = monitor.ExclusiveRead32(current_core, address);
|
||||||
|
|
||||||
if (current_value != value) {
|
if (current_value != static_cast<u32>(value)) {
|
||||||
return ERR_INVALID_STATE;
|
return ERR_INVALID_STATE;
|
||||||
}
|
}
|
||||||
current_value++;
|
current_value++;
|
||||||
|
|
Loading…
Reference in a new issue