aapt2: fix definition of G in Util.h
Change-Id: Icbefa425cf543f130deabab9e2e2e6c13ab672d3
Signed-off-by: Greg Hackmann <ghackmann@google.com>
diff --git a/tools/aapt2/Util.h b/tools/aapt2/Util.h
index 4c5249be..2de9568 100644
--- a/tools/aapt2/Util.h
+++ b/tools/aapt2/Util.h
@@ -90,7 +90,7 @@
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) {