Merge "Fix warn log format"

This commit is contained in:
John Reck
2015-03-31 19:24:46 +00:00
committed by Android (Google) Code Review

View File

@@ -138,7 +138,7 @@ void JankTracker::switchStorageToAshmem(int ashmemfd) {
int regionSize = ashmem_get_size_region(ashmemfd);
if (regionSize < static_cast<int>(sizeof(ProfileData))) {
ALOGW("Ashmem region is too small! Received %d, required %u",
regionSize, sizeof(ProfileData));
regionSize, static_cast<unsigned int>(sizeof(ProfileData)));
return;
}
ProfileData* newData = reinterpret_cast<ProfileData*>(