diff options
Diffstat (limited to 'gdb/tui/tui-io.c')
-rw-r--r-- | gdb/tui/tui-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c index c7a092f..6f81f09 100644 --- a/gdb/tui/tui-io.c +++ b/gdb/tui/tui-io.c @@ -671,7 +671,7 @@ tui_expand_tabs (const char *string, int col) } /* Allocate the copy. */ - ret = q = xmalloc (strlen (string) + n_adjust + 1); + ret = q = (char *) xmalloc (strlen (string) + n_adjust + 1); /* 2. Copy the original string while replacing TABs with spaces. */ for (ncol = col, s = string; s; ) |