From 21d17a588f70a57acf7d97def74a550e2925600e Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 29 Sep 2001 06:13:53 +0000 Subject: [PATCH] * som.c (som_write_symbol_strings): Cast current_offset in bfd_seek call to match param type. --- bfd/ChangeLog | 5 +++++ bfd/som.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9f398b7b784..fd02d0b3ff1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-09-29 Alan Modra + + * som.c (som_write_symbol_strings): Cast current_offset in + bfd_seek call to match param type. + 2001-09-28 J. Brobecker * som.c (som_write_symbol_strings): Fix incorrect type of diff --git a/bfd/som.c b/bfd/som.c index e955c09fb61..0f1fc09e851 100644 --- 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) -- 2.30.2