diff options
Diffstat (limited to 'Userland/DevTools/HackStudio/Debugger/DebugInfoWidget.cpp')
-rw-r--r-- | Userland/DevTools/HackStudio/Debugger/DebugInfoWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/Debugger/DebugInfoWidget.cpp b/Userland/DevTools/HackStudio/Debugger/DebugInfoWidget.cpp index df2946f6f8..997b8a91b2 100644 --- a/Userland/DevTools/HackStudio/Debugger/DebugInfoWidget.cpp +++ b/Userland/DevTools/HackStudio/Debugger/DebugInfoWidget.cpp @@ -113,7 +113,7 @@ RefPtr<GUI::Menu> DebugInfoWidget::get_context_menu_for_variable(const GUI::Mode })); } - auto variable_address = (FlatPtr*)variable->location_data.address; + auto variable_address = variable->location_data.address; if (Debugger::the().session()->watchpoint_exists(variable_address)) { context_menu->add_action(GUI::Action::create("Remove watchpoint", [variable_address](auto&) { Debugger::the().session()->remove_watchpoint(variable_address); |