summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/DisplayHardware
diff options
context:
space:
mode:
authorMichael Lentine <mlentine@google.com>2014-07-30 16:24:48 -0700
committerMichael Lentine <mlentine@google.com>2014-07-30 16:24:48 -0700
commit258ee43fbcbc752cb08c134a12c08d5d99c4a866 (patch)
treedcfabd6e7987c52bc4337677638160c1a32347ae /services/surfaceflinger/DisplayHardware
parentfd9d183cd8c859ab8480dea572430398438ba8b5 (diff)
downloadframeworks_native-258ee43fbcbc752cb08c134a12c08d5d99c4a866.zip
frameworks_native-258ee43fbcbc752cb08c134a12c08d5d99c4a866.tar.gz
frameworks_native-258ee43fbcbc752cb08c134a12c08d5d99c4a866.tar.bz2
Build fix for printf with int64 and size_t
Change-Id: I642584cce7dd43e6d491a49228b0bce047d53354
Diffstat (limited to 'services/surfaceflinger/DisplayHardware')
-rw-r--r--services/surfaceflinger/DisplayHardware/HWComposer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
index 5e3fe92..6769031 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;