diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2012-06-12 15:39:45 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-06-12 18:07:37 +0200 |
commit | f9007eefc73e98bc01eae5c05273493c6ed1b53d (patch) | |
tree | 8bc44606513472dea85e4a811893856bbec08bd6 /src | |
parent | 78c8ed5bb904088bfa550f265bd770c1dedd8b52 (diff) | |
download | qt-creator-f9007eefc73e98bc01eae5c05273493c6ed1b53d.tar.gz |
Fix warnings
Change-Id: I2964fba30da3dc3a4e9d0c8f7709e32dfd8cd5ef
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libs/utils/elfreader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/utils/elfreader.cpp b/src/libs/utils/elfreader.cpp index 6071fbc9bd..2b2f5b0302 100644 --- a/src/libs/utils/elfreader.cpp +++ b/src/libs/utils/elfreader.cpp @@ -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); |