1
0
Fork 0
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:
sapier 2014-05-04 02:43:01 +02:00
parent cfb26629bf
commit 09e8bbea03
2 changed files with 2 additions and 2 deletions

View file

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