aboutsummaryrefslogtreecommitdiff
path: root/gui/downloaddialog.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-07-22 14:15:06 +0300
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commite114d1a697b21203b09ca2c607cbd86c3db05328 (patch)
tree0cd782556e2880571026b96a3d007bc2a89cbcef /gui/downloaddialog.cpp
parenta65682a828ff0213b60b983f0957c504ec2d2ec1 (diff)
downloadscummvm-rg350-e114d1a697b21203b09ca2c607cbd86c3db05328.tar.gz
scummvm-rg350-e114d1a697b21203b09ca2c607cbd86c3db05328.tar.bz2
scummvm-rg350-e114d1a697b21203b09ca2c607cbd86c3db05328.zip
GUI: Fix format warning
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 a90783de9e..495e9c13f0 100644
--- a/gui/downloaddialog.cpp
+++ b/gui/downloaddialog.cpp
@@ -199,12 +199,12 @@ void DownloadDialog::reflowLayout() {
namespace {
Common::String getHumanReadableBytes(uint64 bytes, Common::String &unitsOut) {
- Common::String result = Common::String::format("%u", bytes);
+ Common::String result = Common::String::format("%lu", bytes);
unitsOut = "B";
if (bytes >= 1024) {
bytes /= 1024;
- result = Common::String::format("%u", bytes);
+ result = Common::String::format("%lu", bytes);
unitsOut = "KB";
}