summaryrefslogtreecommitdiff
path: root/bfd/som.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-09-29 06:13:53 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-09-29 06:13:53 +0000
commit15f1b83638e64a9375981163af488a589955f73f (patch)
tree45b91c3848dbdec3744590116041c82590ae1af6 /bfd/som.c
parent821e69998dfc56c0643f27fed1e17089229fc542 (diff)
downloadgdb-15f1b83638e64a9375981163af488a589955f73f.tar.gz
* som.c (som_write_symbol_strings): Cast current_offset in
bfd_seek call to match param type.
Diffstat (limited to 'bfd/som.c')
-rw-r--r--bfd/som.c2
1 files changed, 1 insertions, 1 deletions
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)