aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/optimise-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-30 13:10:49 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-30 13:34:04 +0200
commit3f6e88a5527dcc4d58e3147f78388a88eb8896e0 (patch)
treed1677cf561e302868235ea87e89741a050b0d543 /src/libstore/optimise-store.cc
parentebee2b7852a8c0441e9470a0df8ec3c71d322109 (diff)
unsigned long long -> uint64_t
Diffstat (limited to 'src/libstore/optimise-store.cc')
-rw-r--r--src/libstore/optimise-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc
index b2b2412a3..e4b4b6213 100644
--- a/src/libstore/optimise-store.cc
+++ b/src/libstore/optimise-store.cc
@@ -282,7 +282,7 @@ void LocalStore::optimiseStore(OptimiseStats & stats)
}
}
-static string showBytes(unsigned long long bytes)
+static string showBytes(uint64_t bytes)
{
return (format("%.2f MiB") % (bytes / (1024.0 * 1024.0))).str();
}