From 258ee43fbcbc752cb08c134a12c08d5d99c4a866 Mon Sep 17 00:00:00 2001 From: Michael Lentine Date: Wed, 30 Jul 2014 16:24:48 -0700 Subject: [PATCH] Build fix for printf with int64 and size_t Change-Id: I642584cce7dd43e6d491a49228b0bce047d53354 --- services/surfaceflinger/DisplayHardware/HWComposer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp index 5e3fe92bc..67690315a 100644 --- a/services/surfaceflinger/DisplayHardware/HWComposer.cpp +++ b/services/surfaceflinger/DisplayHardware/HWComposer.cpp @@ -288,7 +288,7 @@ void HWComposer::vsync(int disp, int64_t timestamp) { // is a bug in the HWC implementation, but filter the extra events // out here so they don't cause havoc downstream. if (timestamp == mLastHwVSync[disp]) { - ALOGW("Ignoring duplicate VSYNC event from HWC (t=%lld)", + ALOGW("Ignoring duplicate VSYNC event from HWC (t=%" PRId64 ")", timestamp); return; } @@ -631,7 +631,7 @@ status_t HWComposer::prepare() { disp.framebufferTarget->compositionType = HWC_FRAMEBUFFER_TARGET; } if (!disp.connected && disp.list != NULL) { - ALOGW("WARNING: disp %d: connected, non-null list, layers=%d", + ALOGW("WARNING: disp %zu: connected, non-null list, layers=%zu", i, disp.list->numHwLayers); } mLists[i] = disp.list;