PAD: Fix Wsign-compare warning.

This commit is contained in:
lightningterror 2022-08-14 19:04:48 +02:00
parent 191c7fdf30
commit 23338319a0
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ void KeyStatus::Set(u32 pad, u32 index, float value)
if (index == PAD_PRESSURE)
{
const float adjust_pmod = ((m_button[pad] & (1u << PAD_PRESSURE)) == 0) ? m_pressure_modifier[pad] : (1.0f / m_pressure_modifier[pad]);
for (int i = 0; i < MAX_KEYS; i++)
for (u32 i = 0; i < MAX_KEYS; i++)
{
if (i == index || IsAnalogKey(i) || IsTriggerKey(i))
continue;