diff options
author | Angelo Mantellini <manangel@cisco.com> | 2019-02-10 12:49:21 +0100 |
---|---|---|
committer | Angelo Mantellini <manangel@cisco.com> | 2019-02-11 14:32:16 +0100 |
commit | 4c8876424cca41c8ce8ce67c1c0a394932cbdd58 (patch) | |
tree | 03ce5e673a9409b35ba7abf65e1740309ef44653 /libtransport/src/hicn/transport/protocols/vegas_rto_estimator.cc | |
parent | 731e1188262be87d962f5694022fc74928d889b0 (diff) |
[HICN-46] Remove warnings libtransport on windows
Change-Id: I09456770dcbca979491cdcadb310eab95a0dea17
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'libtransport/src/hicn/transport/protocols/vegas_rto_estimator.cc')
-rw-r--r-- | libtransport/src/hicn/transport/protocols/vegas_rto_estimator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtransport/src/hicn/transport/protocols/vegas_rto_estimator.cc b/libtransport/src/hicn/transport/protocols/vegas_rto_estimator.cc index f5f797bbe..a61fd05f0 100644 --- a/libtransport/src/hicn/transport/protocols/vegas_rto_estimator.cc +++ b/libtransport/src/hicn/transport/protocols/vegas_rto_estimator.cc @@ -26,10 +26,10 @@ namespace protocol { using namespace interface; RtoEstimator::RtoEstimator(Duration min_rto) - : smoothed_rtt_(RtoEstimator::getInitialRtt().count()), + : smoothed_rtt_((double)RtoEstimator::getInitialRtt().count()), rtt_variation_(0), first_measurement_(true), - last_rto_(min_rto.count()) {} + last_rto_((double)min_rto.count()) {} void RtoEstimator::addMeasurement(Duration rtt) { double duration = static_cast<double>(rtt.count()); |