Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
f9007eef
Commit
f9007eef
authored
Jun 12, 2012
by
Tobias Hunger
Committed by
hjk
Jun 12, 2012
Browse files
Fix warnings
Change-Id: I2964fba30da3dc3a4e9d0c8f7709e32dfd8cd5ef Reviewed-by:
hjk
<
qthjk@ovi.com
>
parent
78c8ed5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/utils/elfreader.cpp
View file @
f9007eef
...
...
@@ -273,7 +273,7 @@ ElfReader::Result ElfReader::readIt()
return
Corrupt
;
}
for
(
int
i
=
0
;
i
<
e_shnum
;
++
i
)
{
for
(
qu
int
32
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
(
qu
int
32
i
=
0
;
i
<
e_phnum
;
++
i
)
{
const
uchar
*
s
=
mapper
.
ustart
+
e_phoff
+
i
*
e_phentsize
;
ElfProgramHeader
ph
;
parseProgramHeader
(
s
,
&
ph
,
m_elfData
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment