diff options
author | Alan Modra <amodra@gmail.com> | 2001-09-29 06:13:53 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-09-29 06:13:53 +0000 |
commit | 21d17a588f70a57acf7d97def74a550e2925600e (patch) | |
tree | 5970f8b6f0aded7eef4b15ab4f242192f0df0ddc /bfd | |
parent | 916aaa1251eb953dc9ad6b5a9d1176f6eeae444e (diff) | |
download | gdb-21d17a588f70a57acf7d97def74a550e2925600e.zip gdb-21d17a588f70a57acf7d97def74a550e2925600e.tar.gz gdb-21d17a588f70a57acf7d97def74a550e2925600e.tar.bz2 |
* som.c (som_write_symbol_strings): Cast current_offset in
bfd_seek call to match param type.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/som.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9f398b7..fd02d0b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-09-29 Alan Modra <amodra@bigpond.net.au> + + * som.c (som_write_symbol_strings): Cast current_offset in + bfd_seek call to match param type. + 2001-09-28 J. Brobecker <brobecker@gnat.com> * som.c (som_write_symbol_strings): Fix incorrect type of @@ -3189,7 +3189,7 @@ som_write_symbol_strings (abfd, current_offset, syms, num_syms, string_sizep, /* Seek to the start of the space strings in preparation for writing them out. */ - if (bfd_seek (abfd, current_offset, SEEK_SET) != 0) + if (bfd_seek (abfd, (file_ptr) current_offset, SEEK_SET) != 0) return false; if (compilation_unit) |