diff options
author | Alexander Tkachev | 2019-07-24 00:45:20 +0700 |
---|---|---|
committer | Matan Bareket | 2019-07-30 14:51:41 -0400 |
commit | 7fc6477ce2d1001ab5111a16d2a6b408951a0b59 (patch) | |
tree | 8b770cfe80bc9e63ca6f3d2f2c9365e35032c9fb /backends/cloud/folderdownloadrequest.cpp | |
parent | 16d97b6948326eb07e49b57a567b469493fa1916 (diff) | |
download | scummvm-rg350-7fc6477ce2d1001ab5111a16d2a6b408951a0b59.tar.gz scummvm-rg350-7fc6477ce2d1001ab5111a16d2a6b408951a0b59.tar.bz2 scummvm-rg350-7fc6477ce2d1001ab5111a16d2a6b408951a0b59.zip |
COMMON: Update getHumanReadableBytes() in util.h
Function now casts bytes (as <1024) to unsigned long int to correspond
"%lu" format string. For consistency, KB are now printed as floating
number. Finally, it looks like double is pretty precise to be used in
comparisons, so I made the function a little bit shorter.
Diffstat (limited to 'backends/cloud/folderdownloadrequest.cpp')
0 files changed, 0 insertions, 0 deletions