diff options
Diffstat (limited to 'gdb/completer.c')
-rw-r--r-- | gdb/completer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/completer.c b/gdb/completer.c index 18f01f9..606f78b 100644 --- a/gdb/completer.c +++ b/gdb/completer.c @@ -590,7 +590,7 @@ complete_line_internal (const char *text, { /* An empty line we want to consider ambiguous; that is, it could be any command. */ - c = (struct cmd_list_element *) -1; + c = CMD_LIST_AMBIGUOUS; result_list = 0; } else @@ -610,7 +610,7 @@ complete_line_internal (const char *text, possible completions. */ list = NULL; } - else if (c == (struct cmd_list_element *) -1) + else if (c == CMD_LIST_AMBIGUOUS) { char *q; |