diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-06-13 12:53:05 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-06-13 12:53:05 -0700 |
commit | 97975402120d565dd211f9d470e7b192641712c5 (patch) | |
tree | 9f7a2db5ea4c9568d6b801d52b1fffd857565767 /node/Switch.cpp | |
parent | ce2338c24a46558a2e0fdb7ebbcf2e6ce9c8b615 (diff) | |
parent | 3b188ba672559ff80264a8fab32699ebdbf928fe (diff) | |
download | infinitytier-97975402120d565dd211f9d470e7b192641712c5.tar.gz infinitytier-97975402120d565dd211f9d470e7b192641712c5.zip |
merge
Diffstat (limited to 'node/Switch.cpp')
-rw-r--r-- | node/Switch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp index 55275dc3..a9c882fb 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -601,7 +601,7 @@ void Switch::aqm_enqueue(void *tPtr, const SharedPtr<Network> &network, Packet & uint64_t Switch::control_law(uint64_t t, int count) { - return t + ZT_QOS_INTERVAL / sqrt(count); + return (uint64_t)(t + ZT_QOS_INTERVAL / sqrt(count)); } Switch::dqr Switch::dodequeue(ManagedQueue *q, uint64_t now) |