Skip to content

Commit

Permalink
GUI: Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Sep 5, 2016
1 parent f1aec5a commit 92452a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/downloaddialog.cpp
Expand Up @@ -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();
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 92452a4

Please sign in to comment.