aboutsummaryrefslogtreecommitdiff
path: root/gui/downloaddialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/downloaddialog.cpp')
-rw-r--r--gui/downloaddialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/downloaddialog.cpp b/gui/downloaddialog.cpp
index ea7ace2f2a..8d5035fcb7 100644
--- a/gui/downloaddialog.cpp
+++ b/gui/downloaddialog.cpp
@@ -193,7 +193,7 @@ void DownloadDialog::handleTickle() {
return;
}
- uint32 progress = (uint32)(100 * CloudMan.getDownloadingProgress());
+ int32 progress = (int32)(100 * CloudMan.getDownloadingProgress());
if (_progressBar->getValue() != progress) {
refreshWidgets();
draw();
@@ -239,7 +239,7 @@ Common::String getHumanReadableBytes(uint64 bytes, Common::String &unitsOut) {
}
// print one digit after floating point
- result = Common::String::format("%.1lf", floating);
+ result = Common::String::format("%.1f", floating);
return result;
}
}