Index: webrtc/modules/audio_processing/vad/voice_activity_detector.cc |
diff --git a/webrtc/modules/audio_processing/vad/voice_activity_detector.cc b/webrtc/modules/audio_processing/vad/voice_activity_detector.cc |
index 7b495f4231fea5f09fba59a842c1c3e3d0267bc6..6aa58adaa6b5d5a94204045bc610bcd44e951b1c 100644 |
--- a/webrtc/modules/audio_processing/vad/voice_activity_detector.cc |
+++ b/webrtc/modules/audio_processing/vad/voice_activity_detector.cc |
@@ -39,7 +39,7 @@ VoiceActivityDetector::~VoiceActivityDetector() = default; |
void VoiceActivityDetector::ProcessChunk(const int16_t* audio, |
size_t length, |
int sample_rate_hz) { |
- RTC_DCHECK_EQ(static_cast<int>(length), sample_rate_hz / 100); |
+ RTC_DCHECK_EQ(length, sample_rate_hz / 100); |
RTC_DCHECK_LE(length, kMaxLength); |
// Resample to the required rate. |
const int16_t* resampled_ptr = audio; |