mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-28 22:43:32 +08:00
configure_system: Fix compiler warning
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user