* 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.
This commit is contained in:
Mark Kettenis
2005-07-04 13:29:13 +00:00
parent 540b09cb7d
commit 1754f103e6
13 changed files with 53 additions and 34 deletions

View File

@ -412,7 +412,7 @@ set_lang_str (void)
if (language_mode == language_mode_auto)
prefix = "auto; currently ";
language = concat (prefix, current_language->la_name, NULL);
language = concat (prefix, current_language->la_name, (char *)NULL);
}
static void
@ -440,7 +440,7 @@ set_type_str (void)
error (_("Unrecognized type check setting."));
}
type = concat (prefix, tmp, NULL);
type = concat (prefix, tmp, (char *)NULL);
}
static void
@ -468,7 +468,7 @@ set_range_str (void)
if (range)
xfree (range);
range = concat (pref, tmp, NULL);
range = concat (pref, tmp, (char *)NULL);
}
static void
@ -492,7 +492,7 @@ set_case_str (void)
}
xfree (case_sensitive);
case_sensitive = concat (prefix, tmp, NULL);
case_sensitive = concat (prefix, tmp, (char *)NULL);
}
/* Print out the current language settings: language, range and