summaryrefslogtreecommitdiff
path: root/libs/hwui/GradientCache.cpp
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2016-02-11 22:35:35 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-02-11 22:35:36 +0000
commit9036f9989b83d2954a7af9ab01f5925ebe76eadf (patch)
tree87d45dc3f2be647279f0badfcb2077be920e3250 /libs/hwui/GradientCache.cpp
parent166639aefa3dbf21acdb0a35226b05cddd91bd7f (diff)
parentd61fd4ede537695d6f7c340aae365095e5bade4d (diff)
Merge "Fix build" into nyc-dev
Diffstat (limited to 'libs/hwui/GradientCache.cpp')
-rw-r--r--libs/hwui/GradientCache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/GradientCache.cpp b/libs/hwui/GradientCache.cpp
index 88ae02b5524d..c8f5e9435594 100644
--- a/libs/hwui/GradientCache.cpp
+++ b/libs/hwui/GradientCache.cpp
@@ -166,8 +166,8 @@ Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient,
mSize += size;
LOG_ALWAYS_FATAL_IF((int)size != texture->objectSize(),
- "size != texture->objectSize(), size %" PRIu32 ", objectSize %" PRIu32
- " width = %" PRIu32 " bytesPerPixel() = %" PRIu32,
+ "size != texture->objectSize(), size %" PRIu32 ", objectSize %d"
+ " width = %" PRIu32 " bytesPerPixel() = %zu",
size, texture->objectSize(), info.width, bytesPerPixel());
mCache.put(gradient, texture);