Index: webrtc/modules/audio_device/dummy/file_audio_device.cc |
diff --git a/webrtc/modules/audio_device/dummy/file_audio_device.cc b/webrtc/modules/audio_device/dummy/file_audio_device.cc |
index 82569e8fcfb47abb289f82edec1c7b6430e11f26..3de5344a8f151a81540e57ca2bc7b25b5305c131 100644 |
--- a/webrtc/modules/audio_device/dummy/file_audio_device.cc |
+++ b/webrtc/modules/audio_device/dummy/file_audio_device.cc |
@@ -172,7 +172,7 @@ int32_t FileAudioDevice::InitRecording() { |
return -1; |
} |
- _recordingFramesIn10MS = kRecordingFixedSampleRate/100; |
+ _recordingFramesIn10MS = static_cast<uint32_t>(kRecordingFixedSampleRate/100); |
if (_ptrAudioBuffer) { |
_ptrAudioBuffer->SetRecordingSampleRate(kRecordingFixedSampleRate); |
@@ -190,7 +190,7 @@ int32_t FileAudioDevice::StartPlayout() { |
return 0; |
} |
- _playoutFramesIn10MS = kPlayoutFixedSampleRate/100; |
+ _playoutFramesIn10MS = static_cast<uint32_t>(kPlayoutFixedSampleRate/100); |
_playing = true; |
_playoutFramesLeft = 0; |