Index: webrtc/modules/audio_device/android/audio_device_unittest.cc |
diff --git a/webrtc/modules/audio_device/android/audio_device_unittest.cc b/webrtc/modules/audio_device/android/audio_device_unittest.cc |
index b21fd6e2004a74e841dd45930d034254ace295cf..0aef6f91618f94b54fa5cb51059f68b1a8921b66 100644 |
--- a/webrtc/modules/audio_device/android/audio_device_unittest.cc |
+++ b/webrtc/modules/audio_device/android/audio_device_unittest.cc |
@@ -350,7 +350,7 @@ class LatencyMeasuringAudioStream : public AudioStreamInterface { |
} |
int IndexToMilliseconds(double index) const { |
- return 10.0 * (index / frames_per_buffer_) + 0.5; |
+ return static_cast<int>(10.0 * (index / frames_per_buffer_) + 0.5); |
} |
private: |