Index: webrtc/modules/audio_coding/codecs/cng/webrtc_cng.cc |
diff --git a/webrtc/modules/audio_coding/codecs/cng/webrtc_cng.cc b/webrtc/modules/audio_coding/codecs/cng/webrtc_cng.cc |
index 4c28f89c9e33d7fb53caef5581ad75af9b85c1f2..886b5fc325aab8f1548186449325f0776e505fbe 100644 |
--- a/webrtc/modules/audio_coding/codecs/cng/webrtc_cng.cc |
+++ b/webrtc/modules/audio_coding/codecs/cng/webrtc_cng.cc |
@@ -260,7 +260,7 @@ size_t ComfortNoiseEncoder::Encode(rtc::ArrayView<const int16_t> speech, |
int16_t speechBuf[kCngMaxOutsizeOrder]; |
const size_t num_samples = speech.size(); |
- RTC_CHECK_LE(num_samples, static_cast<size_t>(kCngMaxOutsizeOrder)); |
+ RTC_CHECK_LE(num_samples, kCngMaxOutsizeOrder); |
for (i = 0; i < num_samples; i++) { |
speechBuf[i] = speech[i]; |