commit | 27b5c0d7a18b49df1e27cf499a3a41618e5027b7 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Wed Oct 02 15:46:20 2019 -0700 |
committer | Yi Kong <yikong@google.com> | Wed Oct 02 23:04:07 2019 +0000 |
tree | 7681cee96f3340f55826f6a7c9b662b742e9759a | |
parent | 3e9dd76e813cf04c9dd35a8c2e813c174e5b435e [diff] |
Cast enum to uint32_t before comparing with AUDIO_MODE_CNT AUDIO_MODE_CNT falls outside of the enum range, the comparison emits tautological-constant-out-of-range-compare warning. Test: presubmit Change-Id: Iacab29a79219048868d390dbe08e70aba22e9cc5