summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-09-13 13:35:36 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-09-13 13:52:09 -0400
commit5ffa1049ae639215f4885684a39607875cb9497b (patch)
treead60181eaf98bd954b9283b13ef1a7db2760afc9 /src
parent3ae3706c847431089389721e2873bc9a0549d6d9 (diff)
cmd/config: Remove uncaught usage of stoul
Diffstat (limited to 'src')
-rw-r--r--src/yuzu_cmd/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index c42d98709..0d25ff400 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -259,7 +259,7 @@ void Config::ReadValues() {
std::stringstream ss(title_list);
std::string line;
while (std::getline(ss, line, '|')) {
- const auto title_id = std::stoul(line, nullptr, 16);
+ const auto title_id = std::strtoul(line.c_str(), nullptr, 16);
const auto disabled_list = sdl2_config->Get("AddOns", "disabled_" + line, "");
std::stringstream inner_ss(disabled_list);