summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/tests/test-mixer.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-07-28 16:34:45 -0700
committerGlenn Kasten <gkasten@google.com>2014-07-29 15:45:38 -0700
commita4daf0b4f934b800a49f199fb8c09409391c8fc0 (patch)
treef2b1f47f9c09d21d0eb22f1f78d10c766e7a1c11 /services/audioflinger/tests/test-mixer.cpp
parent5fedaffddebd6b37f09cdc9804812945b9622498 (diff)
downloadframeworks_av-a4daf0b4f934b800a49f199fb8c09409391c8fc0.zip
frameworks_av-a4daf0b4f934b800a49f199fb8c09409391c8fc0.tar.gz
frameworks_av-a4daf0b4f934b800a49f199fb8c09409391c8fc0.tar.bz2
Fix build warnings
Change-Id: Ife5e40264f43fb3ccb40830228701003fe106bf5
Diffstat (limited to 'services/audioflinger/tests/test-mixer.cpp')
-rw-r--r--services/audioflinger/tests/test-mixer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/tests/test-mixer.cpp b/services/audioflinger/tests/test-mixer.cpp
index 5a00f40..9a4fad6 100644
--- a/services/audioflinger/tests/test-mixer.cpp
+++ b/services/audioflinger/tests/test-mixer.cpp
@@ -62,7 +62,7 @@ static int writeFile(const char *filename, const void *buffer,
info.samplerate = sampleRate;
info.channels = channels;
info.format = SF_FORMAT_WAV | (isBufferFloat ? SF_FORMAT_FLOAT : SF_FORMAT_PCM_16);
- printf("saving file:%s channels:%d samplerate:%d frames:%d\n",
+ printf("saving file:%s channels:%u samplerate:%u frames:%zu\n",
filename, info.channels, info.samplerate, frames);
SNDFILE *sf = sf_open(filename, SFM_WRITE, &info);
if (sf == NULL) {