diff options
| author | Grant Limberg <grant.limberg@zerotier.com> | 2019-06-13 10:27:54 -0700 |
|---|---|---|
| committer | Grant Limberg <grant.limberg@zerotier.com> | 2019-06-13 10:28:09 -0700 |
| commit | 47d29ddcaf677a5376f54e6901bcdc38e499b16d (patch) | |
| tree | 41a840d935dc2a90b063ac619008bcc085e67c75 /node/Switch.cpp | |
| parent | f411eb1651bbfaa276eab02cf368e9fcb3905a15 (diff) | |
| download | infinitytier-47d29ddcaf677a5376f54e6901bcdc38e499b16d.tar.gz infinitytier-47d29ddcaf677a5376f54e6901bcdc38e499b16d.zip | |
Compiler warning cleanup
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) |
