mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 10:19:06 +02:00
Explicitely cast to float
This commit is contained in:
parent
f32562b191
commit
51168a8a29
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
float PacketStreamStats::getLostRate() const {
|
float PacketStreamStats::getLostRate() const {
|
||||||
return (_expectedReceived == 0) ? 0.0f : (float)_lost / _expectedReceived;
|
return (_expectedReceived == 0) ? 0.0f : (float)_lost / (float)_expectedReceived;
|
||||||
}
|
}
|
||||||
|
|
||||||
SequenceNumberStats::SequenceNumberStats(int statsHistoryLength, bool canDetectOutOfSync)
|
SequenceNumberStats::SequenceNumberStats(int statsHistoryLength, bool canDetectOutOfSync)
|
||||||
|
|
Loading…
Reference in a new issue