Commit f9007eef authored by Tobias Hunger's avatar Tobias Hunger Committed by hjk
Browse files

Fix warnings



Change-Id: I2964fba30da3dc3a4e9d0c8f7709e32dfd8cd5ef
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 78c8ed5b
......@@ -273,7 +273,7 @@ ElfReader::Result ElfReader::readIt()
return Corrupt;
}
for (int i = 0; i < e_shnum; ++i) {
for (quint32 i = 0; i < e_shnum; ++i) {
const uchar *s = mapper.ustart + e_shoff + i * e_shentsize;
ElfSectionHeader sh;
parseSectionHeader(s, &sh, m_elfData);
......@@ -305,7 +305,7 @@ ElfReader::Result ElfReader::readIt()
}
if (e_phoff) {
for (int i = 0; i < e_phnum; ++i) {
for (quint32 i = 0; i < e_phnum; ++i) {
const uchar *s = mapper.ustart + e_phoff + i * e_phentsize;
ElfProgramHeader ph;
parseProgramHeader(s, &ph, m_elfData);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment