diff options
Diffstat (limited to 'Userland/Libraries/LibDebug/StackFrameUtils.cpp')
-rw-r--r-- | Userland/Libraries/LibDebug/StackFrameUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibDebug/StackFrameUtils.cpp b/Userland/Libraries/LibDebug/StackFrameUtils.cpp index e5cccff5ab..8f5ccf4c26 100644 --- a/Userland/Libraries/LibDebug/StackFrameUtils.cpp +++ b/Userland/Libraries/LibDebug/StackFrameUtils.cpp @@ -10,8 +10,8 @@ namespace Debug::StackFrameUtils { Optional<StackFrameInfo> get_info(ProcessInspector const& inspector, FlatPtr current_ebp) { - auto return_address = inspector.peek(reinterpret_cast<u32*>(current_ebp + sizeof(FlatPtr))); - auto next_ebp = inspector.peek(reinterpret_cast<u32*>(current_ebp)); + auto return_address = inspector.peek(current_ebp + sizeof(FlatPtr)); + auto next_ebp = inspector.peek(current_ebp); if (!return_address.has_value() || !next_ebp.has_value()) return {}; |