use strtoul instead of std::stoul

This commit is contained in:
oltolm 2026-01-01 02:54:27 +01:00
parent 97dce3c802
commit 678be0f5f7

View File

@ -114,7 +114,7 @@ void DebuggerModuleStorage::Load(XMLConfigParser& parser)
if (*address_string == '\0')
continue;
uint32 relative_address = std::stoul(address_string, nullptr, 16);
uint32 relative_address = std::strtoul(address_string, nullptr, 16);
if (relative_address == 0)
continue;
@ -157,7 +157,7 @@ void DebuggerModuleStorage::Load(XMLConfigParser& parser)
if (*address_string == '\0')
continue;
uint32 address = std::stoul(address_string, nullptr, 16);
uint32 address = std::strtoul(address_string, nullptr, 16);
if (address == 0)
continue;