Index: webrtc/voice_engine/channel.cc |
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc |
index 063ffa680a771696757b3b4412eee6c8c1dfe212..6dd64c7634a99dedf8b6fd5cf43124b8a8a2e48e 100644 |
--- a/webrtc/voice_engine/channel.cc |
+++ b/webrtc/voice_engine/channel.cc |
@@ -1097,7 +1097,7 @@ int32_t |
Channel::UpdateLocalTimeStamp() |
{ |
- _timeStamp += _audioFrame.samples_per_channel_; |
+ _timeStamp += static_cast<uint32_t>(_audioFrame.samples_per_channel_); |
return 0; |
} |
@@ -3454,7 +3454,7 @@ Channel::EncodeAndSend() |
return 0xFFFFFFFF; |
} |
- _timeStamp += _audioFrame.samples_per_channel_; |
+ _timeStamp += static_cast<uint32_t>(_audioFrame.samples_per_channel_); |
return 0; |
} |