symtab.c: Add cast
gdb/ChangeLog: * symtab.c (default_make_symbol_completion_list_break_on_1): Add cast.
This commit is contained in:
parent
e0dd41e967
commit
585a269afb
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2015-10-26 Simon Marchi <simon.marchi@polymtl.ca>
|
||||||
|
|
||||||
|
* symtab.c (default_make_symbol_completion_list_break_on_1): Add
|
||||||
|
cast.
|
||||||
|
|
||||||
2015-10-26 Simon Marchi <simon.marchi@polymtl.ca>
|
2015-10-26 Simon Marchi <simon.marchi@polymtl.ca>
|
||||||
|
|
||||||
* guile/scm-ports.c (gdbscm_memory_port_write): Declare new
|
* guile/scm-ports.c (gdbscm_memory_port_write): Declare new
|
||||||
|
|
|
@ -5422,7 +5422,7 @@ default_make_symbol_completion_list_break_on_1 (const char *text,
|
||||||
/* These languages may have parameters entered by user but they are never
|
/* These languages may have parameters entered by user but they are never
|
||||||
present in the partial symbol tables. */
|
present in the partial symbol tables. */
|
||||||
|
|
||||||
const char *cs = memchr (sym_text, '(', sym_text_len);
|
const char *cs = (const char *) memchr (sym_text, '(', sym_text_len);
|
||||||
|
|
||||||
if (cs)
|
if (cs)
|
||||||
sym_text_len = cs - sym_text;
|
sym_text_len = cs - sym_text;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue