* elfcpp/elfcpp_file.h (Elf_file::section_name): Change shstr_size

to Elf_WXword.
This commit is contained in:
Ian Lance Taylor
2009-10-09 23:02:34 +00:00
parent 0d8af798b8
commit 20e5b5c0ad
2 changed files with 6 additions and 1 deletions

View File

@ -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),