summaryrefslogtreecommitdiff
path: root/libs/hwui/JankTracker.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-03-31 12:03:51 -0700
committerJohn Reck <jreck@google.com>2015-03-31 12:03:51 -0700
commit98fa0a322e6bf4f6b543487c820955d8598193b5 (patch)
tree9f20733f568d370cbd1244b3ff8d458838d8a4a4 /libs/hwui/JankTracker.cpp
parent63473869da8ea7f39a2b530dd6e026bedc5e6f07 (diff)
Fix warn log format
Change-Id: I7876dd5d0d0f68dde4cb0768699d800daff754f1
Diffstat (limited to 'libs/hwui/JankTracker.cpp')
-rw-r--r--libs/hwui/JankTracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/JankTracker.cpp b/libs/hwui/JankTracker.cpp
index 48f5dc125a82..65be9e19a56a 100644
--- a/libs/hwui/JankTracker.cpp
+++ b/libs/hwui/JankTracker.cpp
@@ -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*>(