aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c
index 4623bf0..b584251 100644
--- a/gdb/tui/tui-data.c
+++ b/gdb/tui/tui-data.c
@@ -402,7 +402,7 @@ tui_partial_win_by_name (char *name)
const char *
tui_win_name (const struct tui_gen_win_info *win_info)
{
- char *name = (char *) NULL;
+ const char *name = NULL;
switch (win_info->type)
{