Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
3f20c415
Unverified
Commit
3f20c415
authored
Dec 13, 2018
by
Gus Grubba
Committed by
GitHub
Dec 13, 2018
Browse files
Merge pull request #7089 from mavlink/badCast
Fix bad cast, which truncates free storage value.
parents
80344272
a85b2f36
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Camera/QGCCameraControl.cc
View file @
3f20c415
...
...
@@ -245,7 +245,7 @@ QGCCameraControl::photoStatus()
QString
QGCCameraControl
::
storageFreeStr
()
{
return
QGCMapEngine
::
bigSizeToString
(
static_cast
<
quint64
>
(
_storageFree
*
1024
*
1024
)
)
;
return
QGCMapEngine
::
bigSizeToString
(
static_cast
<
quint64
>
(
_storageFree
)
*
1024
*
1024
);
}
//-----------------------------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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