diff options
| author | Scott Mansell <phiren@gmail.com> | 2023-01-29 14:54:41 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2023-01-31 19:41:24 +1300 |
| commit | 89d9ec0a84edf2c9c2e8d7cd4b3cf295814418ff (patch) | |
| tree | ad8f8f449f8a3ed3b97d0ee6d87c7d2990203c45 /Source/Core/DolphinQt/MainWindow.cpp | |
| parent | b007b8e104fbf57bc5d92bc94ca7eb997edc6332 (diff) | |
Fix warning
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/MainWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index f4d52c0fa5..59fc19f6a3 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -1383,7 +1383,7 @@ void MainWindow::SetStateSlot(int slot) void MainWindow::IncrementSelectedStateSlot() { - int state_slot = m_state_slot + 1; + u32 state_slot = m_state_slot + 1; if (state_slot > State::NUM_STATES) state_slot = 1; m_menu_bar->SetStateSlot(state_slot); @@ -1391,7 +1391,7 @@ void MainWindow::IncrementSelectedStateSlot() void MainWindow::DecrementSelectedStateSlot() { - int state_slot = m_state_slot - 1; + u32 state_slot = m_state_slot - 1; if (state_slot < 1) state_slot = State::NUM_STATES; m_menu_bar->SetStateSlot(state_slot); |
