From bd82e81e2654ea05ef96a1bb6f069e31d7a04f4e Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 7 Nov 2016 12:29:24 -0500 Subject: [PATCH] correct DH keys number to precalculate --- Transports.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Transports.cpp b/Transports.cpp index 913106ae..39500e8c 100644 --- a/Transports.cpp +++ b/Transports.cpp @@ -49,7 +49,7 @@ namespace transport while (m_IsRunning) { int num; - while ((num = m_QueueSize - m_Queue.size ()) > 0) + while ((num = m_QueueSize - (int)m_Queue.size ()) > 0) CreateDHKeysPairs (num); std::unique_lock l(m_AcquiredMutex); m_Acquired.wait (l); // wait for element gets aquired