{
bfd_size_type amt = sizeof (struct dwarf1_unit);
- struct dwarf1_unit* x = bfd_zalloc (stash->abfd, amt);
+ struct dwarf1_unit* x = (struct dwarf1_unit *) bfd_zalloc (stash->abfd, amt);
if (x)
{
x->prev = stash->lastUnit;
{
bfd_size_type amt = sizeof (struct dwarf1_func);
- struct dwarf1_func* x = bfd_zalloc (stash->abfd, amt);
+ struct dwarf1_func* x = (struct dwarf1_func *) bfd_zalloc (stash->abfd, amt);
if (x)
{
x->prev = aUnit->func_list;
/* Allocate an array for the entries. */
amt = sizeof (struct linenumber) * aUnit->line_count;
- aUnit->linenumber_table = bfd_alloc (stash->abfd, amt);
+ aUnit->linenumber_table = (struct linenumber *) bfd_alloc (stash->abfd,
+ amt);
if (!aUnit->linenumber_table)
return FALSE;
bfd_size_type size = sizeof (struct dwarf1_debug);
stash = elf_tdata (abfd)->dwarf1_find_line_info
- = bfd_zalloc (abfd, size);
+ = (struct dwarf1_debug *) bfd_zalloc (abfd, size);
if (! stash)
return FALSE;