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

Unified Diff: webrtc/tools/agc/agc_manager_unittest.cc

Issue 1230503003: Update a ton of audio code to use size_t more correctly and in general reduce (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 4 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/tools/agc/agc_manager.cc ('k') | webrtc/tools/agc/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/agc/agc_manager_unittest.cc
diff --git a/webrtc/tools/agc/agc_manager_unittest.cc b/webrtc/tools/agc/agc_manager_unittest.cc
index c379d2d5b03c66e7ef69ccfd351d627740a2fe61..e54923b9654271fd24ab1123d031c56cb3465b68 100644
--- a/webrtc/tools/agc/agc_manager_unittest.cc
+++ b/webrtc/tools/agc/agc_manager_unittest.cc
@@ -33,7 +33,7 @@ namespace {
const int kSampleRateHz = 32000;
const int kNumChannels = 1;
-const int kSamplesPerChannel = kSampleRateHz / 100;
+const size_t kSamplesPerChannel = static_cast<size_t>(kSampleRateHz / 100);
const float kAboveClippedThreshold = 0.2f;
} // namespace
« no previous file with comments | « webrtc/tools/agc/agc_manager.cc ('k') | webrtc/tools/agc/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698