diff options
author | Stu Grossman <grossman@cygnus> | 1991-08-23 05:26:06 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1991-08-23 05:26:06 +0000 |
commit | 7d003262a723b67a843d98acae10b933b4447530 (patch) | |
tree | c53e70d0ef2d7c16c85a68858d3ef32ce3bedf1f /bfd/coffcode.h | |
parent | 69e87de278d46588593bca456fdf10cba7b52c88 (diff) | |
download | gdb-7d003262a723b67a843d98acae10b933b4447530.zip gdb-7d003262a723b67a843d98acae10b933b4447530.tar.gz gdb-7d003262a723b67a843d98acae10b933b4447530.tar.bz2 |
saber
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 4e3ad85..35f2549 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -125,7 +125,7 @@ various flags to set in the @code{asymbol} @xref{Symbols}. The generated canonical table shares strings with the hidden internal symbol table. -Any linenumbers are read from the coff file too, and attatched to the +Any linenumbers are read from the coff file too, and attached to the symbols which own the functions the linenumbers belong to. @subsubsection Symbol Writing @@ -1050,7 +1050,7 @@ DEFUN(coff_object_p,(abfd), if (bfd_read((PTR) &opthdr, 1,AOUTSZ, abfd) != AOUTSZ) { return 0; } - bfd_swap_aouthdr_in(abfd, &opthdr, &internal_a); + bfd_swap_aouthdr_in(abfd, (char *)&opthdr, (char *)&internal_a); } /* Seek past the opt hdr stuff */ @@ -2475,7 +2475,7 @@ bfd *abfd) /* Swap all the raw entries */ for (raw_src = raw, internal_ptr = internal; raw_src < raw_end; raw_src++, internal_ptr++) { unsigned int i; - coff_swap_sym_in(abfd, raw_src,&internal_ptr->u.syment); + coff_swap_sym_in(abfd, (char *)raw_src, (char *)&internal_ptr->u.syment); internal_ptr->fix_tag = 0; internal_ptr->fix_end = 0; |