From b54ee7704e46529e02386cf39eba93a34a527c61 Mon Sep 17 00:00:00 2001 From: Michael Lentine Date: Thu, 7 Aug 2014 14:54:23 -0700 Subject: [PATCH] Change output format to not throw warning on volantis. Change-Id: Id66eb61bdb1ceccfb7aefa0aa70793dac807c257 --- services/surfaceflinger/DisplayHardware/HWComposer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp index 67690315a..53409d106 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; }