Update hash_cache.cc

This commit is contained in:
felisucoibi 2019-12-01 23:01:20 +01:00 committed by GitHub
parent c3437da7b3
commit c9aab51c7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ static std::string friendlyUnit(uint64_t val)
double fact = 1.0 ;
for(unsigned int i=0; i<5; ++i)
for(unsigned int i=0; i<6; ++i)
if(double(val)/fact < 1024.0)
{
sprintf(buf,"%2.2f",double(val)/fact) ;