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

Unified Diff: webrtc/common_audio/vad/vad_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_sp_unittest.cc ('k') | webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webrtc/common_audio/vad/vad_sp_unittest.cc ('k') | webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698