diff options
Diffstat (limited to 'gdb/tui/tui-data.h')
-rw-r--r-- | gdb/tui/tui-data.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h index 1714f5a..90ab01f 100644 --- a/gdb/tui/tui-data.h +++ b/gdb/tui/tui-data.h @@ -296,9 +296,9 @@ extern struct tui_win_info *tui_win_list[MAX_MAJOR_WINDOWS]; #define TUI_DATA_WIN \ (gdb::checked_static_cast<tui_data_window *> (tui_win_list[DATA_WIN])) #define TUI_CMD_WIN \ - (gdb::checked_static_cast<tui_cmd_window *> (tui_win_list[CMD_WIN])) + (dynamic_cast<tui_cmd_window *> (tui_win_list[CMD_WIN])) #define TUI_STATUS_WIN \ - (gdb::checked_static_cast<tui_status_window *> (tui_win_list[STATUS_WIN])) + (dynamic_cast<tui_status_window *> (tui_win_list[STATUS_WIN])) /* All the windows that are currently instantiated, in layout order. */ |