Compiler warning cleanup

This commit is contained in:
Grant Limberg 2019-06-13 10:27:54 -07:00
parent f411eb1651
commit 47d29ddcaf
5 changed files with 10 additions and 10 deletions

View file

@ -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)