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

Unified Diff: webrtc/video_engine/overuse_frame_detector.cc

Issue 1184443005: Remove implicit-int-conversion warnings. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: size_t j 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/video_engine/BUILD.gn ('k') | webrtc/video_engine/report_block_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_engine/overuse_frame_detector.cc
diff --git a/webrtc/video_engine/overuse_frame_detector.cc b/webrtc/video_engine/overuse_frame_detector.cc
index 88d5d052bc05d785f081c909ae898911cafb59c6..23ee59f213c0aeba896ab367473a0b9aad092ffc 100644
--- a/webrtc/video_engine/overuse_frame_detector.cc
+++ b/webrtc/video_engine/overuse_frame_detector.cc
@@ -250,7 +250,7 @@ class OveruseFrameDetector::FrameQueue {
}
void Reset() { frame_times_.clear(); }
- int NumFrames() const { return frame_times_.size(); }
+ int NumFrames() const { return static_cast<int>(frame_times_.size()); }
int last_processing_time_ms() const { return last_processing_time_ms_; }
private:
« no previous file with comments | « webrtc/video_engine/BUILD.gn ('k') | webrtc/video_engine/report_block_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698