mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
JitArm64_SystemRegisters: Resolve -Wsign-compare warning
This commit is contained in:
parent
017b9a0af7
commit
4c3a5eb1c5
@ -236,9 +236,9 @@ void JitArm64::twx(UGeckoInstruction inst)
|
||||
constexpr std::array<CCFlags, 5> conditions{{CC_LT, CC_GT, CC_EQ, CC_VC, CC_VS}};
|
||||
Common::SmallVector<FixupBranch, conditions.size()> fixups;
|
||||
|
||||
for (int i = 0; i < conditions.size(); i++)
|
||||
for (size_t i = 0; i < conditions.size(); i++)
|
||||
{
|
||||
if (inst.TO & (1 << i))
|
||||
if (inst.TO & (1U << i))
|
||||
{
|
||||
FixupBranch f = B(conditions[i]);
|
||||
fixups.push_back(f);
|
||||
|
Loading…
x
Reference in New Issue
Block a user