Scoped enums do not get automatically promoted to their underlying type, so these uses have undefined behavior and Clang recently started warning about it. Bug: chromium:1456289 Change-Id: I9cf4e5a68378930a3bf7d8ac7b0a21eaf0d12670 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/309520 Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Auto-Submit: Hans Wennborg <hans@chromium.org> Commit-Queue: Rasmus Brandt <brandtr@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40321}