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
Marco Bubke
flatpak-qt-creator
Commits
985878cf
Commit
985878cf
authored
May 20, 2010
by
ck
Browse files
BinEditor: Get rid of (bogus) MSVC warning.
parent
51a75e3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/bineditor/bineditor.cpp
View file @
985878cf
...
...
@@ -422,8 +422,9 @@ void BinEditor::setLazyData(quint64 startAddr, int range, int blockSize)
m_baseAddr
=
static_cast
<
quint64
>
(
range
/
2
)
>
startAddr
?
0
:
startAddr
-
range
/
2
;
m_baseAddr
=
(
m_baseAddr
/
blockSize
)
*
blockSize
;
m_size
=
m_baseAddr
!=
0
&&
static_cast
<
quint64
>
(
range
)
>=
-
m_baseAddr
?
-
m_baseAddr
:
range
;
const
quint64
maxRange
=
Q_UINT64_C
(
0xffffffffffffffff
)
-
m_baseAddr
+
1
;
m_size
=
m_baseAddr
!=
0
&&
static_cast
<
quint64
>
(
range
)
>=
maxRange
?
maxRange
:
range
;
m_addressBytes
=
(
m_baseAddr
+
m_size
<
quint64
(
1
)
<<
32
&&
m_baseAddr
+
m_size
>=
m_baseAddr
)
?
4
:
8
;
...
...
Write
Preview
Markdown
is supported
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