Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(424)

Unified Diff: webrtc/voice_engine/channel.cc

Issue 1168753002: Match existing type usage better. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/utility/source/coder.cc ('k') | webrtc/voice_engine/utility_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « webrtc/modules/utility/source/coder.cc ('k') | webrtc/voice_engine/utility_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698