JitArm64_SystemRegisters: Resolve -Wsign-compare warning

This commit is contained in:
Lioncash 2023-12-11 18:11:34 -05:00
parent 017b9a0af7
commit 4c3a5eb1c5
1 changed files with 2 additions and 2 deletions

View File

@ -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}}; constexpr std::array<CCFlags, 5> conditions{{CC_LT, CC_GT, CC_EQ, CC_VC, CC_VS}};
Common::SmallVector<FixupBranch, conditions.size()> fixups; 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]); FixupBranch f = B(conditions[i]);
fixups.push_back(f); fixups.push_back(f);