aboutsummaryrefslogtreecommitdiff
path: root/elfcpp/elfcpp_file.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-10-09 23:02:34 +0000
committerIan Lance Taylor <ian@airs.com>2009-10-09 23:02:34 +0000
commit20e5b5c0ad071659fae9f1ec70954e414dc9c4cd (patch)
treef746a45995ae8288dc856e1f46a5afe7c3a93100 /elfcpp/elfcpp_file.h
parent0d8af798b83dfa865bffba1401097e9a3651b548 (diff)
downloadfsf-binutils-gdb-20e5b5c0ad071659fae9f1ec70954e414dc9c4cd.zip
fsf-binutils-gdb-20e5b5c0ad071659fae9f1ec70954e414dc9c4cd.tar.gz
fsf-binutils-gdb-20e5b5c0ad071659fae9f1ec70954e414dc9c4cd.tar.bz2
* elfcpp/elfcpp_file.h (Elf_file::section_name): Change shstr_size
to Elf_WXword.
Diffstat (limited to 'elfcpp/elfcpp_file.h')
-rw-r--r--elfcpp/elfcpp_file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/elfcpp/elfcpp_file.h b/elfcpp/elfcpp_file.h
index 12f0925..cc61622 100644
--- a/elfcpp/elfcpp_file.h
+++ b/elfcpp/elfcpp_file.h
@@ -490,7 +490,7 @@ Elf_file<size, big_endian, File>::section_name(unsigned int shndx)
// Get the file offset for the section name string table data.
off_t shstr_off;
- off_t shstr_size;
+ typename Elf_types<size>::Elf_WXword shstr_size;
{
const unsigned int shstrndx = this->shstrndx_;
typename File::View v(file->view(this->section_header_offset(shstrndx),