Skip to content
Snippets Groups Projects
Commit 0eef4a6c authored by lat9nq's avatar lat9nq
Browse files

cheat_engine: Remove uncaught usage of stoul

parent 22be3008
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ std::vector<CheatEntry> TextCheatParser::Parse(std::string_view data) const {
return {};
}
const auto value = static_cast<u32>(std::stoul(hex, nullptr, 0x10));
const auto value = static_cast<u32>(std::strtoul(hex.c_str(), nullptr, 0x10));
out[*current_entry].definition.opcodes[out[*current_entry].definition.num_opcodes++] =
value;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment