cmd/config: Remove uncaught usage of stoul

This commit is contained in:
lat9nq committed 2023-09-13 13:52:09 -04:00
1 parent c750d6965a
commit 05ee2fa033
1 file changed
+1 -1
+1 -1
View File
@@ -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);