+2010-03-17 Alan Modra <amodra@gmail.com>
+
+ * plugin.c (bfd_plugin_object_p): Pass iostream to fileno using
+ proper type.
+
2010-03-17 Alan Modra <amodra@gmail.com>
* elf32-arm.c (cortex_a8_erratum_scan): Warning fix.
if (abfd->iostream)
{
- file.fd = fileno (abfd->iostream);
+ file.fd = fileno ((FILE *) abfd->iostream);
file.offset = 0;
file.filesize = 0; /*FIXME*/
}
{
bfd *archive = abfd->my_archive;
BFD_ASSERT (archive);
- file.fd = fileno (archive->iostream);
+ file.fd = fileno ((FILE *) archive->iostream);
file.offset = abfd->origin;
file.filesize = arelt_size (abfd);