fixed possible overflow

This commit is contained in:
orignal committed 2026-10-13 11:01:53 -04:00
1 parent 34d106a9f5
commit f946ed6a12
1 file changed
+1 -1
+1 -1
View File
@@ -1194,7 +1194,7 @@ namespace stream
int32_t lastReceivedSeqn = m_LastReceivedSequenceNumber;
// for limit inbound speed
auto ts = i2p::util::GetMillisecondsSinceEpoch ();
int numPackets = 0;
int64_t numPackets = 0;
bool lostPackets = false;
int64_t passedTime = m_PacketACKInterval * INITIAL_WINDOW_SIZE; // in microseconds // while m_LastACKSendTime == 0
if (m_LastACKSendTime)