diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/plugin/qelfparser_p.cpp | 4 | ||||
-rw-r--r-- | src/corelib/plugin/qelfparser_p.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/plugin/qelfparser_p.cpp b/src/corelib/plugin/qelfparser_p.cpp index cfe9a9d..33fff42 100644 --- a/src/corelib/plugin/qelfparser_p.cpp +++ b/src/corelib/plugin/qelfparser_p.cpp @@ -61,8 +61,8 @@ const char *QElfParser::parseSectionHeader(const char *data, ElfSectionHeader *s + sizeof(qelfaddr_t); // sh_addr sh->offset = read<qelfoff_t>(data); data += sizeof(qelfoff_t); // sh_offset - sh->size = read<qelfword_t>(data); - data += sizeof(qelfword_t); // sh_size + sh->size = read<qelfoff_t>(data); + data += sizeof(qelfoff_t); // sh_size return data; } diff --git a/src/corelib/plugin/qelfparser_p.h b/src/corelib/plugin/qelfparser_p.h index 2f10807..e552cbc 100644 --- a/src/corelib/plugin/qelfparser_p.h +++ b/src/corelib/plugin/qelfparser_p.h @@ -80,7 +80,7 @@ public: qelfword_t name; qelfword_t type; qelfoff_t offset; - qelfword_t size; + qelfoff_t size; }; int m_endian; |