Fix build on i386 with GCC
PR: ports/189286 Submitted by: Lena <lena@lena.kiev.ua>
This commit is contained in:
parent
a9c28664ea
commit
a9033a3a50
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353447
@ -0,0 +1,11 @@
|
||||
--- net/quic/congestion_control/inter_arrival_overuse_detector.cc.orig 2014-04-24 22:35:53.000000000 +0200
|
||||
+++ net/quic/congestion_control/inter_arrival_overuse_detector.cc 2014-05-09 10:29:30.000000000 +0200
|
||||
@@ -165,7 +165,7 @@
|
||||
if ((sigma_delta * kDetectTimeDiffStandardDeviation >
|
||||
estimated_congestion_delay_.ToMicroseconds()) &&
|
||||
(sigma_delta * kDetectDriftStandardDeviation >
|
||||
- std::abs(accumulated_deltas_.ToMicroseconds()))) {
|
||||
+ std::labs(accumulated_deltas_.ToMicroseconds()))) {
|
||||
if (delta_estimate_ != kBandwidthSteady) {
|
||||
DVLOG(1) << "Bandwidth estimate drift: Steady"
|
||||
<< " mean:" << delta_mean_
|
@ -0,0 +1,11 @@
|
||||
--- net/quic/congestion_control/tcp_cubic_sender.cc.orig 2014-04-24 22:35:53.000000000 +0200
|
||||
+++ net/quic/congestion_control/tcp_cubic_sender.cc 2014-05-09 10:57:21.000000000 +0200
|
||||
@@ -341,7 +341,7 @@
|
||||
mean_deviation_ = QuicTime::Delta::FromMicroseconds(
|
||||
kOneMinusBeta * mean_deviation_.ToMicroseconds() +
|
||||
kBeta *
|
||||
- std::abs(smoothed_rtt_.ToMicroseconds() - rtt.ToMicroseconds()));
|
||||
+ std::labs(smoothed_rtt_.ToMicroseconds() - rtt.ToMicroseconds()));
|
||||
smoothed_rtt_ = QuicTime::Delta::FromMicroseconds(
|
||||
kOneMinusAlpha * smoothed_rtt_.ToMicroseconds() +
|
||||
kAlpha * rtt.ToMicroseconds());
|
Loading…
Reference in New Issue
Block a user