* format.c (bfd_check_format_matches): Cast result of
bfd_xmalloc_by_size_t. * opncls.c (_bfd_new_bfd): Avoid ANSI C prototype.
This commit is contained in:
parent
41d7671d53
commit
751446f635
2 changed files with 3 additions and 3 deletions
|
@ -141,7 +141,7 @@ bfd_check_format_matches (abfd, format, matching)
|
|||
if (matching)
|
||||
{
|
||||
*matching = matching_vector =
|
||||
bfd_xmalloc_by_size_t (sizeof (char *) *
|
||||
(char **) bfd_xmalloc_by_size_t (sizeof (char *) *
|
||||
(_bfd_target_vector_entries + 1));
|
||||
matching_vector[0] = NULL;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ FILE *bfd_open_file PARAMS ((bfd *));
|
|||
/* Return a new BFD. All BFD's are allocated through this routine. */
|
||||
|
||||
bfd *
|
||||
_bfd_new_bfd (void)
|
||||
_bfd_new_bfd ()
|
||||
{
|
||||
bfd *nbfd;
|
||||
|
||||
|
|
Loading…
Reference in a new issue