configure_system: Fix compiler warning
This commit is contained in:
parent
722303d3f3
commit
c1e5c112c6
2 changed files with 3 additions and 3 deletions
|
@ -240,7 +240,7 @@ void ConfigureSystem::RefreshConsoleID() {
|
|||
|
||||
void ConfigureSystem::SelectUser(const QModelIndex& index) {
|
||||
Settings::values.current_user =
|
||||
std::clamp<std::size_t>(index.row(), 0, profile_manager->GetUserCount() - 1);
|
||||
std::clamp<s32>(index.row(), 0, static_cast<s32>(profile_manager->GetUserCount() - 1));
|
||||
|
||||
UpdateCurrentUser();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue