Index: webrtc/common_audio/vad/vad_unittest.cc |
diff --git a/webrtc/common_audio/vad/vad_unittest.cc b/webrtc/common_audio/vad/vad_unittest.cc |
index 2c3e803cb60221d395ced9cb7dd7a41bcab43f64..48eddbf935e5ab34cf91446756370500359e78e5 100644 |
--- a/webrtc/common_audio/vad/vad_unittest.cc |
+++ b/webrtc/common_audio/vad/vad_unittest.cc |
@@ -66,7 +66,7 @@ TEST_F(VadTest, ApiTest) { |
// 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); |
} |
// nullptr instance tests |