Unverified Commit 3f20c415 authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #7089 from mavlink/badCast

Fix bad cast, which truncates free storage value.
parents 80344272 a85b2f36
......@@ -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);
}
//-----------------------------------------------------------------------------
......
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