summaryrefslogtreecommitdiffstats
path: root/libs/androidfw
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2014-06-18 12:56:28 -0700
committerAdam Lesinski <adamlesinski@google.com>2014-06-18 13:00:28 -0700
commitfb600d60c06192f1a5b1c09bc86f92a80894a6c1 (patch)
tree17f3eab052206843bfed3a62342b40c0fcd5e1b3 /libs/androidfw
parentb9db146d0da2d10c0f2ade631d01d11a9fb9882d (diff)
downloadframeworks_base-fb600d60c06192f1a5b1c09bc86f92a80894a6c1.zip
frameworks_base-fb600d60c06192f1a5b1c09bc86f92a80894a6c1.tar.gz
frameworks_base-fb600d60c06192f1a5b1c09bc86f92a80894a6c1.tar.bz2
Fix build break in log statement
For logging purposes, a uint32_t was being converted into a void pointer, which on certain systems would be a conversion to a different size. Change-Id: I90af69ab975d84c9c8cbb1cce94ff4e9cc6edcf2
Diffstat (limited to 'libs/androidfw')
-rw-r--r--libs/androidfw/TypeWrappers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/androidfw/TypeWrappers.cpp b/libs/androidfw/TypeWrappers.cpp
index 8929b66..06b4040 100644
--- a/libs/androidfw/TypeWrappers.cpp
+++ b/libs/androidfw/TypeWrappers.cpp
@@ -48,7 +48,7 @@ const ResTable_entry* TypeVariant::iterator::operator*() const {
}
if ((entryOffset & 0x3) != 0) {
- ALOGE("Index %u points to entry with unaligned offset %p", mIndex, (void*) entryOffset);
+ ALOGE("Index %u points to entry with unaligned offset 0x%08x", mIndex, entryOffset);
return NULL;
}