diff options
author | Dan Stoza <stoza@google.com> | 2015-04-28 14:20:04 -0700 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2015-04-28 14:20:04 -0700 |
commit | 800b41ab8486b9d885124071659c774f6c1856e2 (patch) | |
tree | 756c9c0d64455baa8e7ad180884d2fb449ab4fc3 /libs | |
parent | 4afd8b67f9be307e6c6ed89deab2e85516bb3a0e (diff) | |
download | frameworks_native-800b41ab8486b9d885124071659c774f6c1856e2.zip frameworks_native-800b41ab8486b9d885124071659c774f6c1856e2.tar.gz frameworks_native-800b41ab8486b9d885124071659c774f6c1856e2.tar.bz2 |
libgui: Fix buffer age on 64-bit targets
Changes a %llu to a PRIu64 to fix compilation on 64-bit targets.
Change-Id: I8ba982662dbe8ee2e1e47c4f6ce4bbdbe2020960
Diffstat (limited to 'libs')
-rw-r--r-- | libs/gui/BufferQueueProducer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gui/BufferQueueProducer.cpp b/libs/gui/BufferQueueProducer.cpp index b8df436..7251d36 100644 --- a/libs/gui/BufferQueueProducer.cpp +++ b/libs/gui/BufferQueueProducer.cpp @@ -347,7 +347,8 @@ status_t BufferQueueProducer::dequeueBuffer(int *outSlot, mCore->mFrameCounter + 1 - mSlots[found].mFrameNumber; } - BQ_LOGV("dequeueBuffer: setting buffer age to %llu", mCore->mBufferAge); + BQ_LOGV("dequeueBuffer: setting buffer age to %" PRIu64, + mCore->mBufferAge); if (CC_UNLIKELY(mSlots[found].mFence == NULL)) { BQ_LOGE("dequeueBuffer: about to return a NULL fence - " |