attempt to fix warning

This commit is contained in:
Arvid Norberg 2019-11-18 11:51:16 +01:00 committed by Arvid Norberg
parent ad787d2a4f
commit f4ab272c5c
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ void test_ssl(int const test_idx, bool const use_utp)
p2 = ses2.abort();
}
std::string password_callback(int /*length*/, boost::asio::ssl::context::password_purpose p
std::string password_callback(std::size_t /*length*/, boost::asio::ssl::context::password_purpose p
, std::string pw)
{
if (p != boost::asio::ssl::context::for_reading) return "";