Merge pull request #167 from danw/profile
Fix 32-bit builds; only build 64-bit in Android trees
diff --git a/Android.bp b/Android.bp
index ab91582..ebbef98 100644
--- a/Android.bp
+++ b/Android.bp
@@ -20,6 +20,7 @@
"-Werror",
"-DNOLOG",
],
+ compile_multilib: "64",
tidy_checks: [
"-google-global-names-in-headers",
"-google-build-using-namespace",
diff --git a/stats.cc b/stats.cc
index b1c5061..5e7b27d 100644
--- a/stats.cc
+++ b/stats.cc
@@ -51,7 +51,7 @@
});
// Only print the top 10
- details.resize(min(details.size(), 10LU));
+ details.resize(min(details.size(), static_cast<size_t>(10)));
if (!interesting_.empty()) {
// No need to print anything out twice