diff --git a/libs/androidfw/TypeWrappers.cpp b/libs/androidfw/TypeWrappers.cpp index 8929b66bbdc41..06b40405f4040 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; }