Index: webrtc/common_audio/vad/vad_unittest.h |
diff --git a/webrtc/common_audio/vad/vad_unittest.h b/webrtc/common_audio/vad/vad_unittest.h |
index 5fb726d47f260759b458090dbd374f2e209cb2cb..3efe61b632b62249c9e84452909f6b1a06132940 100644 |
--- a/webrtc/common_audio/vad/vad_unittest.h |
+++ b/webrtc/common_audio/vad/vad_unittest.h |
@@ -28,8 +28,8 @@ const int kRates[] = { 8000, 12000, 16000, 24000, 32000, 48000 }; |
const size_t kRatesSize = sizeof(kRates) / sizeof(*kRates); |
// Frame lengths we support. |
-const int kMaxFrameLength = 1440; |
-const int kFrameLengths[] = { 80, 120, 160, 240, 320, 480, 640, 960, |
+const size_t kMaxFrameLength = 1440; |
+const size_t kFrameLengths[] = { 80, 120, 160, 240, 320, 480, 640, 960, |
kMaxFrameLength }; |
const size_t kFrameLengthsSize = sizeof(kFrameLengths) / sizeof(*kFrameLengths); |
@@ -42,7 +42,7 @@ class VadTest : public ::testing::Test { |
virtual void TearDown(); |
// Returns true if the rate and frame length combination is valid. |
- bool ValidRatesAndFrameLengths(int rate, int frame_length); |
+ bool ValidRatesAndFrameLengths(int rate, size_t frame_length); |
}; |
#endif // WEBRTC_COMMON_AUDIO_VAD_VAD_UNITTEST_H |