* som.c (som_write_symbol_strings): Cast current_offset in
authorAlan Modra <amodra@gmail.com>
Sat, 29 Sep 2001 06:13:53 +0000 (06:13 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 29 Sep 2001 06:13:53 +0000 (06:13 +0000)
bfd_seek call to match param type.

bfd/ChangeLog
bfd/som.c

index 9f398b7b784e95e6752fb78bff1312a60848d1d1..fd02d0b3ff18693325f1a222488a699fd4ea5834 100644 (file)
@@ -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
index e955c09fb61f298589c8bb0f4a709c611685c8b4..0f1fc09e851270a0be7f6fd8b715fc6af9aa3677 100644 (file)
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -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)