summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/DisplayHardware
diff options
context:
space:
mode:
authorMichael Lentine <mlentine@google.com>2014-08-07 14:54:23 -0700
committerMichael Lentine <mlentine@google.com>2014-08-07 14:54:23 -0700
commitb54ee7704e46529e02386cf39eba93a34a527c61 (patch)
tree09213bffc3c690cc1a608c9d35a7860afd134eef /services/surfaceflinger/DisplayHardware
parent5af281f4abb0401ebb4e614291a19780b71f236c (diff)
downloadframeworks_native-b54ee7704e46529e02386cf39eba93a34a527c61.zip
frameworks_native-b54ee7704e46529e02386cf39eba93a34a527c61.tar.gz
frameworks_native-b54ee7704e46529e02386cf39eba93a34a527c61.tar.bz2
Change output format to not throw warning on volantis.
Change-Id: Id66eb61bdb1ceccfb7aefa0aa70793dac807c257
Diffstat (limited to 'services/surfaceflinger/DisplayHardware')
-rw-r--r--services/surfaceflinger/DisplayHardware/HWComposer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
index 6769031..53409d1 100644
--- a/services/surfaceflinger/DisplayHardware/HWComposer.cpp
+++ b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
@@ -376,7 +376,7 @@ status_t HWComposer::queryDisplayProperties(int disp) {
config.ydpi = values[i] / 1000.0f;
break;
default:
- ALOG_ASSERT(false, "unknown display attribute[%d] %#x",
+ ALOG_ASSERT(false, "unknown display attribute[%zu] %#x",
i, DISPLAY_ATTRIBUTES[i]);
break;
}