diff options
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r-- | gdb/tui/tui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 7ff2a537377..eb489b15332 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -439,7 +439,7 @@ tui_enable (void) /* Check required terminal capabilities. The MinGW port of ncurses does have them, but doesn't expose them through "cup". */ #ifndef __MINGW32__ - cap = tigetstr ("cup"); + cap = tigetstr ((char *) "cup"); if (cap == NULL || cap == (char *) -1 || *cap == '\0') { endwin (); |