From 2412f84064c26b643c722ce914a97c4ec7776c69 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Tue, 30 Sep 2014 20:55:57 -0700 Subject: Frameworks/base: Fix AAPT warnings Turn on -Wall -Werror. Fix warnings. Change-Id: I287fb3c1e851c654479bcf9ea8c73bd354a6b2a1 --- tools/aapt/ResourceIdCache.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/aapt/ResourceIdCache.cpp') diff --git a/tools/aapt/ResourceIdCache.cpp b/tools/aapt/ResourceIdCache.cpp index 359443d8fca0..6e30938f6821 100644 --- a/tools/aapt/ResourceIdCache.cpp +++ b/tools/aapt/ResourceIdCache.cpp @@ -97,10 +97,10 @@ uint32_t ResourceIdCache::store(const android::String16& package, void ResourceIdCache::dump() { printf("ResourceIdCache dump:\n"); - printf("Size: %ld\n", mIdMap.size()); - printf("Hits: %ld\n", mHits); - printf("Misses: %ld\n", mMisses); - printf("(Collisions: %ld)\n", mCollisions); + printf("Size: %zu\n", mIdMap.size()); + printf("Hits: %zu\n", mHits); + printf("Misses: %zu\n", mMisses); + printf("(Collisions: %zu)\n", mCollisions); } } -- cgit v1.2.3-59-g8ed1b