commit | 4894038c006cb7feaeb182ec58014229c0279f36 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Thu Feb 08 21:19:47 2024 -0800 |
committer | Andy Hung <hunga@google.com> | Fri Feb 09 15:50:15 2024 -0800 |
tree | 7ae689803390160ef8a87092f3b77f54ac381fb0 | |
parent | 4c6e33015b710ea041fbe9f90a817a4000c4dd54 [diff] [blame] |
audio: Fix clang warnings Generally these warnings come from -Wformat Test: compiles Bug: 324511705 Merged-In: I6129b0793e2aa85e9a2b407c473c766f61122d1b Change-Id: I6129b0793e2aa85e9a2b407c473c766f61122d1b
diff --git a/media/audioaidlconversion/AidlConversionCppNdk.cpp b/media/audioaidlconversion/AidlConversionCppNdk.cpp index bcb31f3..9eaddce 100644 --- a/media/audioaidlconversion/AidlConversionCppNdk.cpp +++ b/media/audioaidlconversion/AidlConversionCppNdk.cpp
@@ -904,7 +904,7 @@ case Tag::voiceMask: return convert(aidl, mVoice, __func__, "voice"); } - ALOGE("%s: unexpected tag value %d", __func__, aidl.getTag()); + ALOGE("%s: unexpected tag value %d", __func__, static_cast<int>(aidl.getTag())); return unexpected(BAD_VALUE); }