diff options
-rw-r--r-- | bfd/format.c | 4 | ||||
-rw-r--r-- | bfd/opncls.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bfd/format.c b/bfd/format.c index fc7945a..c7d994e 100644 --- a/bfd/format.c +++ b/bfd/format.c @@ -141,8 +141,8 @@ bfd_check_format_matches (abfd, format, matching) if (matching) { *matching = matching_vector = - bfd_xmalloc_by_size_t (sizeof (char *) * - (_bfd_target_vector_entries + 1)); + (char **) bfd_xmalloc_by_size_t (sizeof (char *) * + (_bfd_target_vector_entries + 1)); matching_vector[0] = NULL; } right_targ = 0; diff --git a/bfd/opncls.c b/bfd/opncls.c index 729a45c..5c958c8 100644 --- a/bfd/opncls.c +++ b/bfd/opncls.c @@ -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; |