From c9aab51c7ce1d35ddff0d12b5db050230859b62f Mon Sep 17 00:00:00 2001 From: felisucoibi Date: Sun, 1 Dec 2019 23:01:20 +0100 Subject: [PATCH] Update hash_cache.cc --- libretroshare/src/file_sharing/hash_cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/file_sharing/hash_cache.cc b/libretroshare/src/file_sharing/hash_cache.cc index cdc675c10..22955ae9d 100644 --- a/libretroshare/src/file_sharing/hash_cache.cc +++ b/libretroshare/src/file_sharing/hash_cache.cc @@ -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) ;