forked from Imagelibrary/binutils-gdb
bfd: remove use of PTR
* coffcode.h (coff_write_object_contents): Don't cast to PTR. * elf32-csky.c (csky_elf_link_hash_traverse): Remove use of PTR and PARAMS. (csky_allocate_dynrelocs): Don't use PTR cast. * elf32-nios2.c (adjust_dynrelocs, allocate_dynrelocs): Replace PTR with void *. * elf32-visium.c (visium_elf_howto_parity_reloc): Likewise. * elfxx-ia64.c (ia64_elf_reloc): Likewise. * plugin.c (bfd_plugin_bfd_print_private_bfd_data): Likewise.
This commit is contained in:
@@ -3843,7 +3843,7 @@ coff_write_object_contents (bfd * abfd)
|
||||
bfd_byte *b = bfd_zmalloc (fill_size);
|
||||
if (b)
|
||||
{
|
||||
bfd_bwrite ((PTR)b, fill_size, abfd);
|
||||
bfd_bwrite (b, fill_size, abfd);
|
||||
free (b);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user