summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/settings.h4
-rw-r--r--src/yuzu/configuration/configure_system.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/settings.h b/src/core/settings.h
index b5aeff29b..a8954647f 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -114,8 +114,8 @@ struct Values {
114 // System 114 // System
115 bool use_docked_mode; 115 bool use_docked_mode;
116 bool enable_nfc; 116 bool enable_nfc;
117 int current_user; 117 s32 current_user;
118 int language_index; 118 s32 language_index;
119 119
120 // Controls 120 // Controls
121 std::array<std::string, NativeButton::NumButtons> buttons; 121 std::array<std::string, NativeButton::NumButtons> buttons;
diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cpp
index b4b4a4a56..4803d43bb 100644
--- a/src/yuzu/configuration/configure_system.cpp
+++ b/src/yuzu/configuration/configure_system.cpp
@@ -240,7 +240,7 @@ void ConfigureSystem::RefreshConsoleID() {
240 240
241void ConfigureSystem::SelectUser(const QModelIndex& index) { 241void ConfigureSystem::SelectUser(const QModelIndex& index) {
242 Settings::values.current_user = 242 Settings::values.current_user =
243 std::clamp<std::size_t>(index.row(), 0, profile_manager->GetUserCount() - 1); 243 std::clamp<s32>(index.row(), 0, static_cast<s32>(profile_manager->GetUserCount() - 1));
244 244
245 UpdateCurrentUser(); 245 UpdateCurrentUser();
246 246