ElfReader::getSectionSize(): return type of definition should equal the return type of the declaration (i.e., guest_address_t)

This caused a compilation error on ARM (+gem5).

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2076 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
adrian
2013-02-07 11:54:27 +00:00
parent f96f4dd360
commit 0303f00d72

View File

@ -235,7 +235,7 @@ guest_address_t ElfReader::getSectionEnd(const std::string& sectionname) {
return pair.first + pair.second;
}
size_t ElfReader::getSectionSize(const std::string& sectionname) {
guest_address_t ElfReader::getSectionSize(const std::string& sectionname) {
SectionsMap::address_pair_t pair = m_sections_map.find_range_by(sectionname);
return pair.second;
}