aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-07-04 13:29:13 +0000
committerMark Kettenis <kettenis@gnu.org>2005-07-04 13:29:13 +0000
commit1754f103e6323b908fc004d992930933a04183ce (patch)
tree82a936bf08000012e6ee16b4bb72b5beef75e05d /gdb/value.c
parent540b09cb7df7c3b34dd5dd9d8e5e6fea5d482baf (diff)
downloadgdb-1754f103e6323b908fc004d992930933a04183ce.zip
gdb-1754f103e6323b908fc004d992930933a04183ce.tar.gz
gdb-1754f103e6323b908fc004d992930933a04183ce.tar.bz2
* bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call.
* coffread.c (patch_type, process_coff_symbol): Likewise. * corelow.c (core_open): Likewise. * dwarf2read.c (dwarf_decode_lines, dwarf2_start_subfile): * language.c (set_lang_str, set_type_str, set_range_str) (set_case_str): Likewise. * source.c (add_path, openp): Likewise. * stabsread.c: Likewise. * top.c (init_history): Likewise. * utils.c (xfullpath): Likewise. * value.c (lookup_internalvar): Likewise. * cli/cli-cmds.c (cd_command): Likewise. * cli/cli-dump.c (add_dump_command): Likewise.
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.c b/gdb/value.c
index 8662d68..0b20a5a 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -743,7 +743,7 @@ lookup_internalvar (char *name)
return var;
var = (struct internalvar *) xmalloc (sizeof (struct internalvar));
- var->name = concat (name, NULL);
+ var->name = concat (name, (char *)NULL);
var->value = allocate_value (builtin_type_void);
release_value (var->value);
var->next = internalvars;