This repository was archived by the owner on Oct 25, 2024. It is now read-only.
Commit 27b254f
Fix incorrect use of scoped enumerations in format strings (#203)
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 <[email protected]>
Auto-Submit: Hans Wennborg <[email protected]>
Commit-Queue: Rasmus Brandt <[email protected]>
Cr-Commit-Position: refs/heads/main@{#40321}
Co-authored-by: Hans Wennborg <[email protected]>1 parent 49d511c commit 27b254f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
| 242 | + | |
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
| |||
0 commit comments