From fe8718a4637d92b3cd991a8f1a22d6d0a09bc6dd Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 20 Dec 2007 21:21:24 +0000 Subject: Convert more instances of off_t to be 32-bit types. --- gold/reloc.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gold/reloc.cc') diff --git a/gold/reloc.cc b/gold/reloc.cc index a91c354..37a9a85 100644 --- a/gold/reloc.cc +++ b/gold/reloc.cc @@ -433,16 +433,16 @@ Sized_relobj::write_sections(const unsigned char* pshdrs, } off_t view_start; - off_t view_size; + section_size_type view_size; if (output_offset != -1) { view_start = output_section_offset + output_offset; - view_size = shdr.get_sh_size(); + view_size = convert_to_section_size_type(shdr.get_sh_size()); } else { view_start = output_section_offset; - view_size = output_section_size; + view_size = convert_to_section_size_type(output_section_size); } if (view_size == 0) -- cgit v1.1