diff options
author | Lajos Molnar <lajos@google.com> | 2015-04-17 15:19:42 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2015-04-17 15:20:03 -0700 |
commit | f1063e2659cad01ec334a265c31734c63c319cc4 (patch) | |
tree | 9444deca08b86fec65754622ec06fbe551a06173 /media/libmedia/AudioTrackShared.cpp | |
parent | ee4e1b1a63758941460ae79a064249d3a5189443 (diff) | |
download | frameworks_av-f1063e2659cad01ec334a265c31734c63c319cc4.zip frameworks_av-f1063e2659cad01ec334a265c31734c63c319cc4.tar.gz frameworks_av-f1063e2659cad01ec334a265c31734c63c319cc4.tar.bz2 |
libmedia: fix all warning, make warnings errors, use clang
Change-Id: Ic00d2c5d0bbb1605e96666e25c9ccc22bea6d3ff
Diffstat (limited to 'media/libmedia/AudioTrackShared.cpp')
-rw-r--r-- | media/libmedia/AudioTrackShared.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/media/libmedia/AudioTrackShared.cpp b/media/libmedia/AudioTrackShared.cpp index ba67b40..aee9fc2 100644 --- a/media/libmedia/AudioTrackShared.cpp +++ b/media/libmedia/AudioTrackShared.cpp @@ -619,8 +619,9 @@ status_t ServerProxy::obtainBuffer(Buffer* buffer, bool ackFlush) // Rather than shutting down on a corrupt flush, just treat it as a full flush if (!(0 <= filled && (size_t) filled <= mFrameCount)) { ALOGE("mFlush %#x -> %#x, front %#x, rear %#x, mask %#x, newFront %#x, " - "filled %d=%#x", - mFlush, flush, front, rear, mask, newFront, filled, filled); + "filled %zd=%#x", + mFlush, flush, front, rear, + (unsigned)mask, newFront, filled, (unsigned)filled); newFront = rear; } mFlush = flush; |