From 678be0f5f78b2cd885d7b285e0697f8f6706bc69 Mon Sep 17 00:00:00 2001 From: oltolm Date: Thu, 1 Jan 2026 02:54:27 +0100 Subject: [PATCH] use strtoul instead of std::stoul --- src/gui/wxgui/debugger/DebuggerWindow2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/wxgui/debugger/DebuggerWindow2.cpp b/src/gui/wxgui/debugger/DebuggerWindow2.cpp index bcc1d6a9..0c3cdb47 100644 --- a/src/gui/wxgui/debugger/DebuggerWindow2.cpp +++ b/src/gui/wxgui/debugger/DebuggerWindow2.cpp @@ -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;