diff options
Diffstat (limited to 'tools/aapt2')
| -rw-r--r-- | tools/aapt2/Util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/Util.h b/tools/aapt2/Util.h index 4c5249b..2de9568 100644 --- a/tools/aapt2/Util.h +++ b/tools/aapt2/Util.h @@ -90,7 +90,7 @@ inline ::std::function<::std::ostream&(::std::ostream&)> formatSize(size_t size) return [size](::std::ostream& out) -> ::std::ostream& { constexpr size_t K = 1024; constexpr size_t M = K * K; - constexpr size_t G = M * M; + constexpr size_t G = M * K; if (size < K) { out << size << "B"; } else if (size < M) { |
