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}};
|
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);
|
||||||
|
|
Loading…
Reference in New Issue