Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(781)

Unified Diff: webrtc/common_audio/vad/vad_filterbank_unittest.cc

Issue 1235643003: Miscellaneous changes split from https://codereview.webrtc.org/1230503003 . (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/common_audio/vad/vad_core_unittest.cc ('k') | webrtc/common_audio/vad/vad_sp_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « webrtc/common_audio/vad/vad_core_unittest.cc ('k') | webrtc/common_audio/vad/vad_sp_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698