mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Silence -Wshadow and -Wsign-compare warnings.
This commit is contained in:
parent
bac4167ff5
commit
76181f9327
2 changed files with 3 additions and 3 deletions
|
@ -493,7 +493,7 @@ void TASInputDlg::SetStickValue(bool* ActivatedByKeyboard, int* AmountPressed, w
|
|||
|
||||
void TASInputDlg::SetSliderValue(Control* control, int CurrentValue)
|
||||
{
|
||||
if (CurrentValue != control->default_value)
|
||||
if (CurrentValue != (int)control->default_value)
|
||||
{
|
||||
control->value = CurrentValue;
|
||||
control->set_by_keyboard = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue