diff options
Diffstat (limited to 'gui')
-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 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"; } |