mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Silence -Wshadow and -Wsign-compare warnings.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user