Fixed: Wrong units (1 KiB = 1024 B, 1 KB = 1000 B, etc...)
This commit is contained in:
parent
4afdfcdde3
commit
47a43a4920
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ string bytesToHumanReadable (const std::string &bytes)
|
|||
|
||||
string bytesToHumanReadable (uint64 bytes)
|
||||
{
|
||||
static const char *divTable[]= { "B", "KB", "MB", "GB", "TB" };
|
||||
static const char *divTable[]= { "B", "KiB", "MiB", "GiB", "TiB" };
|
||||
uint div = 0;
|
||||
uint64 res = bytes;
|
||||
uint64 newres = res;
|
||||
|
|
Loading…
Reference in a new issue