Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 27b5c0d7 authored by Yi Kong's avatar Yi Kong
Browse files

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
parent 3e9dd76e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment