mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 11:35:54 +00:00
JitArm64_SystemRegisters: Resolve -Wsign-compare warning
This commit is contained in:
parent
017b9a0af7
commit
4c3a5eb1c5
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue