From f4ab272c5cfb201e0d74ccef24a1f5e8005f7570 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 18 Nov 2019 11:51:16 +0100 Subject: [PATCH] attempt to fix warning --- test/test_ssl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_ssl.cpp b/test/test_ssl.cpp index 47f713c73..3c707e706 100644 --- a/test/test_ssl.cpp +++ b/test/test_ssl.cpp @@ -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 "";