From 09e8bbea03c72cfc21560f953561183b9d29be6a Mon Sep 17 00:00:00 2001 From: sapier Date: Sun, 4 May 2014 02:43:01 +0200 Subject: Fix numeric underflow on calculating window size adjustment --- src/connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/connection.h') diff --git a/src/connection.h b/src/connection.h index 90344da3e..338ee964c 100644 --- a/src/connection.h +++ b/src/connection.h @@ -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; -- cgit v1.2.3