From 598c7410cc48438cda3fdb45f11b7f2702da3097 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 25 Oct 2012 20:50:24 +0000 Subject: Use section_offset_type in remap_str_offset * dwp.cc (Dwo_file::remap_str_offset): Use section_offset_type on val. --- gold/dwp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gold/dwp.cc') diff --git a/gold/dwp.cc b/gold/dwp.cc index 445d1af..aaee465 100644 --- a/gold/dwp.cc +++ b/gold/dwp.cc @@ -159,7 +159,7 @@ class Dwo_file // Remap a single string offsets from an offset in the input string table // to an offset in the output string table. unsigned int - remap_str_offset(unsigned int val); + remap_str_offset(section_offset_type val); // Add a set of .debug_info and related sections to OUTPUT_FILE. void @@ -1321,7 +1321,7 @@ Dwo_file::sized_remap_str_offsets(const unsigned char* contents, } unsigned int -Dwo_file::remap_str_offset(unsigned int val) +Dwo_file::remap_str_offset(section_offset_type val) { Str_offset_map_entry entry; entry.first = val; -- cgit v1.1