23 lines
662 B
Diff
23 lines
662 B
Diff
diff --git a/gdb/completer.c b/gdb/completer.c
|
|
index d3900ae2014..a51c16ac7f8 100644
|
|
--- a/gdb/completer.c
|
|
+++ b/gdb/completer.c
|
|
@@ -36,7 +36,7 @@
|
|
calling a hook instead so we eliminate the CLI dependency. */
|
|
#include "gdbcmd.h"
|
|
|
|
-/* Needed for rl_completer_word_break_characters() and for
|
|
+/* Needed for rl_completer_word_break_characters and for
|
|
rl_filename_completion_function. */
|
|
#include "readline/readline.h"
|
|
|
|
@@ -2011,7 +2011,7 @@ gdb_completion_word_break_characters_throw ()
|
|
rl_basic_quote_characters = NULL;
|
|
}
|
|
|
|
- return rl_completer_word_break_characters;
|
|
+ return (char *) rl_completer_word_break_characters;
|
|
}
|
|
|
|
char *
|