From d8d71216e9d51de7bcfc212f422a66a5d6eb71ec Mon Sep 17 00:00:00 2001 From: Daniela Engert Date: Wed, 7 Jun 2017 16:16:23 +0200 Subject: [PATCH] fix narrowing conversion Signed-off-by: Daniela Engert --- include/boost/system/detail/error_code.ipp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/system/detail/error_code.ipp b/include/boost/system/detail/error_code.ipp index 51ba3f4..77b191a 100644 --- a/include/boost/system/detail/error_code.ipp +++ b/include/boost/system/detail/error_code.ipp @@ -391,7 +391,7 @@ namespace boost::detail::winapi::MAKELANGID_(boost::detail::winapi::LANG_NEUTRAL_, boost::detail::winapi::SUBLANG_DEFAULT_), // Default language &buf[0], - buf.size(), + static_cast(buf.size()), NULL );