mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
JitArm64_SystemRegisters: Resolve -Wsign-compare warning
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user