[Analyzers][CPP]Turn on warning 4389 (#22082)

This commit is contained in:
sosssego
2022-11-23 16:18:17 +00:00
committed by GitHub
parent b2c8900bae
commit c3ffd17e43
5 changed files with 7 additions and 7 deletions

View File

@@ -783,7 +783,7 @@ bool Shortcut::IsKeyboardStateClearExceptShortcut(KeyboardManagerInput::InputInt
}
}
// If any other key is pressed check if it is the action key
else if (keyVal != actionKey)
else if (keyVal != static_cast<int>(actionKey))
{
return false;
}