Index: webrtc/modules/utility/source/coder.cc |
diff --git a/webrtc/modules/utility/source/coder.cc b/webrtc/modules/utility/source/coder.cc |
index dc0799a2455a963b7827981da466ea85708291e9..1baeaef7214997e079ab9938076f29c498ffb6c0 100644 |
--- a/webrtc/modules/utility/source/coder.cc |
+++ b/webrtc/modules/utility/source/coder.cc |
@@ -85,7 +85,7 @@ int32_t AudioCoder::Encode(const AudioFrame& audio, |
AudioFrame audioFrame; |
audioFrame.CopyFrom(audio); |
audioFrame.timestamp_ = _encodeTimestamp; |
- _encodeTimestamp += audioFrame.samples_per_channel_; |
+ _encodeTimestamp += static_cast<uint32_t>(audioFrame.samples_per_channel_); |
// For any codec with a frame size that is longer than 10 ms the encoded |
// length in bytes should be zero until a a full frame has been encoded. |