diff options
author | Steve Chamberlain <steve@cygnus> | 1991-05-08 19:21:48 +0000 |
---|---|---|
committer | Steve Chamberlain <steve@cygnus> | 1991-05-08 19:21:48 +0000 |
commit | d0ec7a8ee45ad23107d26161b3499d33b99922a6 (patch) | |
tree | 297883f2c1184ec84635db108472d0587c46576d /bfd/coff-mips.c | |
parent | a5c6b4b3b58effba6d4a89c71bf32c8daca005c6 (diff) | |
download | gdb-d0ec7a8ee45ad23107d26161b3499d33b99922a6.zip gdb-d0ec7a8ee45ad23107d26161b3499d33b99922a6.tar.gz gdb-d0ec7a8ee45ad23107d26161b3499d33b99922a6.tar.bz2 |
Various portability lints.
Fixed reloc bug in ieee and oasys.
Diffstat (limited to 'bfd/coff-mips.c')
-rw-r--r-- | bfd/coff-mips.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/coff-mips.c b/bfd/coff-mips.c index ebdf221..d424932 100644 --- a/bfd/coff-mips.c +++ b/bfd/coff-mips.c @@ -168,7 +168,7 @@ ecoff_object_p (abfd) bfd_error = no_error; /* figure out how much to read */ - if (bfd_read (short_bytes, 1, SHORT_SIZE, abfd) != SHORT_SIZE) + if (bfd_read ((PTR)short_bytes, 1, SHORT_SIZE, abfd) != SHORT_SIZE) return 0; magic = bfd_h_getshort (abfd, short_bytes); @@ -176,13 +176,13 @@ ecoff_object_p (abfd) bfd_error = wrong_format; return 0; } - if (bfd_read (short_bytes, 1, SHORT_SIZE, abfd) != SHORT_SIZE) + if (bfd_read ((PTR)short_bytes, 1, SHORT_SIZE, abfd) != SHORT_SIZE) return 0; nscns = bfd_h_getshort (abfd, short_bytes); if (bfd_seek (abfd,(file_ptr) ((sizeof (long)) * 3), true) < 0) return 0; - if (bfd_read (short_bytes, 1, SHORT_SIZE, abfd) != SHORT_SIZE) + if (bfd_read ((PTR)short_bytes, 1, SHORT_SIZE, abfd) != SHORT_SIZE) return 0; opthdr = bfd_h_getshort (abfd, short_bytes); |