commit | ef95b20fbc59fbe33c066201e84ec51fda7fc762 | [log] [tgz] |
---|---|---|
author | Evan Shrubsole <eshr@webrtc.org> | Mon Feb 24 14:55:04 2025 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 25 08:45:04 2025 |
tree | eba7ab67f3eb29fa85cbcba179e97b705fa6eb4f | |
parent | 59410dcd998fa1109926a50ec9dc782860ac84ea [diff] [blame] |
Move safe_conversions.h to webrtc namespace Bug: webrtc:42232595 Change-Id: I4145233e74fc684539d493423cafe142159fe8ff Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/378720 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Evan Shrubsole <eshr@webrtc.org> Cr-Commit-Position: refs/heads/main@{#43973}
diff --git a/modules/audio_coding/neteq/audio_multi_vector_unittest.cc b/modules/audio_coding/neteq/audio_multi_vector_unittest.cc index 386c3d4..eaf3147 100644 --- a/modules/audio_coding/neteq/audio_multi_vector_unittest.cc +++ b/modules/audio_coding/neteq/audio_multi_vector_unittest.cc
@@ -47,7 +47,7 @@ // And so on. for (size_t i = 0; i < array_length(); ++i) { for (size_t j = 1; j <= num_channels_; ++j) { - *ptr = rtc::checked_cast<int16_t>(j * 100 + i); + *ptr = checked_cast<int16_t>(j * 100 + i); ++ptr; } }