Index: webrtc/modules/audio_device/audio_device_buffer.cc |
diff --git a/webrtc/modules/audio_device/audio_device_buffer.cc b/webrtc/modules/audio_device/audio_device_buffer.cc |
index febacbc8a69c2799316b1b484ff3c04c2060e743..18a242f8e03e41568833684bc4ae969f6473d433 100644 |
--- a/webrtc/modules/audio_device/audio_device_buffer.cc |
+++ b/webrtc/modules/audio_device/audio_device_buffer.cc |
@@ -563,7 +563,7 @@ int32_t AudioDeviceBuffer::RequestPlayoutData(uint32_t nSamples) |
} |
} |
- return nSamplesOut; |
+ return static_cast<int32_t>(nSamplesOut); |
} |
// ---------------------------------------------------------------------------- |
@@ -590,7 +590,7 @@ int32_t AudioDeviceBuffer::GetPlayoutData(void* audioBuffer) |
_playFile.Write(&_playBuffer[0], _playSize); |
} |
- return _playSamples; |
+ return static_cast<int32_t>(_playSamples); |
} |
} // namespace webrtc |