From f0a1dd9e202d7d1c14611e1f2eda4fa42cd053a2 Mon Sep 17 00:00:00 2001 From: philipel Date: Mon, 21 Aug 2017 08:53:47 -0700 Subject: [PATCH] Fix compile error for the win_msvc_rel bot. During a period of about one month we have only built with clang and not msvc, and during this period code that does not build with msvc have been submitted. BUG=webrtc:8122 Review-Url: https://codereview.webrtc.org/2999343002 Cr-Commit-Position: refs/heads/master@{#19433} --- .../modules/remote_bitrate_estimator/test/estimators/bbr.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc b/webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc index 64e6bf253c..a8444b4bfe 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc +++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc @@ -34,7 +34,7 @@ const float kDrainGain = 1 / kHighGain; const float kStartupGrowthTarget = 1.25f; const int kMaxRoundsWithoutGrowth = 3; // Pacing gain values for Probe Bandwidth mode. -const float kPacingGain[] = {1.1, 0.9, 1, 1, 1, 1, 1, 1}; +const float kPacingGain[] = {1.1f, 0.9f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f}; const size_t kGainCycleLength = sizeof(kPacingGain) / sizeof(kPacingGain[0]); // Least number of rounds PROBE_RTT should last. const int kProbeRttDurationRounds = 1; @@ -112,8 +112,8 @@ BbrBweSender::BbrBweSender(BitrateObserver* observer, Clock* clock) last_packet_ack_time_during_high_gain_ms_(-1), data_acked_before_high_gain_started_bytes_(-1), data_acked_before_high_gain_ended_bytes_(-1), - first_packet_seq_num_during_high_gain_(-1), - last_packet_seq_num_during_high_gain_(-1), + first_packet_seq_num_during_high_gain_(0), + last_packet_seq_num_during_high_gain_(0), high_gain_over_(false), packet_stats_(), past_rtts_() {