projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
daily update
[binutils-gdb.git]
/
bfd
/
format.c
diff --git
a/bfd/format.c
b/bfd/format.c
index 3de399f5af29a4609b5f0c9998df630c3da9dfb9..4d89a85e0aa4028419ed131dd3e998b06af889d7 100644
(file)
--- a/
bfd/format.c
+++ b/
bfd/format.c
@@
-149,7
+149,7
@@
bfd_check_format_matches (bfd *abfd, bfd_format format, char ***matching)
bfd_size_type amt;
amt = sizeof (*matching_vector) * 2 * _bfd_target_vector_entries;
- matching_vector = bfd_malloc (amt);
+ matching_vector =
(const bfd_target **)
bfd_malloc (amt);
if (!matching_vector)
return FALSE;
}