Index: webrtc/common_audio/vad/vad_filterbank_unittest.cc |
diff --git a/webrtc/common_audio/vad/vad_filterbank_unittest.cc b/webrtc/common_audio/vad/vad_filterbank_unittest.cc |
index d274c4b131cd493ae62a6b495fe35028724481fe..4232cbcff491a6de2bbdedf1abda96d29041a803 100644 |
--- a/webrtc/common_audio/vad/vad_filterbank_unittest.cc |
+++ b/webrtc/common_audio/vad/vad_filterbank_unittest.cc |
@@ -39,7 +39,7 @@ TEST_F(VadTest, vad_filterbank) { |
// known that (i * i) will wrap around, but that doesn't matter in this case. |
int16_t speech[kMaxFrameLength]; |
for (int16_t i = 0; i < kMaxFrameLength; ++i) { |
- speech[i] = (i * i); |
+ speech[i] = static_cast<int16_t>(i * i); |
} |
int frame_length_index = 0; |