mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-03 22:09:18 +01:00
cheat_engine: Remove uncaught usage of stoul
This commit is contained in:
1 parent
41a08286c8
commit
d7d4e66657
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user