mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Fix numeric underflow on calculating window size adjustment
This commit is contained in:
parent
cfb26629bf
commit
09e8bbea03
2 changed files with 2 additions and 2 deletions
|
@ -546,7 +546,7 @@ public:
|
|||
void setWindowSize(unsigned int size) { window_size = size; };
|
||||
private:
|
||||
JMutex m_internal_mutex;
|
||||
unsigned int window_size;
|
||||
int window_size;
|
||||
|
||||
u16 next_incoming_seqnum;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue