aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/savessyncrequest.cpp
diff options
context:
space:
mode:
authorAlexander Tkachev2019-07-24 00:45:20 +0700
committerMatan Bareket2019-07-30 14:51:41 -0400
commit7fc6477ce2d1001ab5111a16d2a6b408951a0b59 (patch)
tree8b770cfe80bc9e63ca6f3d2f2c9365e35032c9fb /backends/cloud/savessyncrequest.cpp
parent16d97b6948326eb07e49b57a567b469493fa1916 (diff)
downloadscummvm-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/savessyncrequest.cpp')
0 files changed, 0 insertions, 0 deletions