aboutsummaryrefslogtreecommitdiff
path: root/bfd/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/plugin.c')
-rw-r--r--bfd/plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/plugin.c b/bfd/plugin.c
index 8cdc7ae..91bbfd1 100644
--- a/bfd/plugin.c
+++ b/bfd/plugin.c
@@ -240,7 +240,7 @@ bfd_plugin_object_p (bfd *abfd)
if (abfd->iostream)
{
- file.fd = fileno (abfd->iostream);
+ file.fd = fileno ((FILE *) abfd->iostream);
file.offset = 0;
file.filesize = 0; /*FIXME*/
}
@@ -248,7 +248,7 @@ bfd_plugin_object_p (bfd *abfd)
{
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);