commit | f7786a4ed8260a3c7193bd097a5eedb6742a8b3b | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Thu Feb 08 21:19:47 2024 -0800 |
committer | Andy Hung <hunga@google.com> | Thu Feb 08 21:26:35 2024 -0800 |
tree | e504add771dc3bbee058033ce47aba314ea94079 | |
parent | f4a6c87cfdf2a11fc4bd74767ca4accc57094761 [diff] [blame] |
audio: Fix clang warnings Generally these warnings come from -Wformat Test: compiles Bug: 324511705 Change-Id: I6129b0793e2aa85e9a2b407c473c766f61122d1b
diff --git a/media/audioaidlconversion/AidlConversionCppNdk.cpp b/media/audioaidlconversion/AidlConversionCppNdk.cpp index 1a6c7f1..77418eb 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); }