diff options
Diffstat (limited to 'gdb/tui')
-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 a8af9b6..c8b8567 100644 --- a/gdb/tui/tui-io.c +++ b/gdb/tui/tui-io.c @@ -692,7 +692,7 @@ tui_expand_tabs (const char *string, int col) /* 2. Copy the original string while replacing TABs with spaces. */ for (s = string; s; ) { - char *s1 = strpbrk (s, "\t"); + const char *s1 = strpbrk (s, "\t"); if (s1) { if (s1 > s) |