diff options
author | Eugene Sandulenko | 2016-09-05 08:18:22 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-05 08:18:22 +0200 |
commit | 92452a4bba592a1d8e0f131fa1ed8d4c03334cd2 (patch) | |
tree | d6cf7d0efe905771b28a8e474e05f4cd978ce31b /gui/downloaddialog.cpp | |
parent | f1aec5a5a29c76e167893005d89bf84c9b0eeee3 (diff) | |
download | scummvm-rg350-92452a4bba592a1d8e0f131fa1ed8d4c03334cd2.tar.gz scummvm-rg350-92452a4bba592a1d8e0f131fa1ed8d4c03334cd2.tar.bz2 scummvm-rg350-92452a4bba592a1d8e0f131fa1ed8d4c03334cd2.zip |
GUI: Fix warnings
Diffstat (limited to 'gui/downloaddialog.cpp')
-rw-r--r-- | gui/downloaddialog.cpp | 4 |
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; } } |