aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-12-17 19:01:07 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-12-17 19:47:07 +0300
commit3466f2f5f49d87fa79aebcf6ad1489d37a7a3a2f (patch)
tree538d9b6df32bf168cf3bbddb5559b4d1327e0714
parent82bd12196bba9102174e22e23d9fcce5897bdf76 (diff)
downloadydb-3466f2f5f49d87fa79aebcf6ad1489d37a7a3a2f.tar.gz
Update contrib/restricted/boost/system to 1.87.0
commit_hash:f936bb0e7e99e974601ad846ef0260c791e858ce
-rw-r--r--contrib/restricted/boost/system/include/boost/system/detail/system_category_message_win32.hpp12
-rw-r--r--contrib/restricted/boost/system/ya.make4
2 files changed, 8 insertions, 8 deletions
diff --git a/contrib/restricted/boost/system/include/boost/system/detail/system_category_message_win32.hpp b/contrib/restricted/boost/system/include/boost/system/detail/system_category_message_win32.hpp
index 73ff8947bc2..47f385ae213 100644
--- a/contrib/restricted/boost/system/include/boost/system/detail/system_category_message_win32.hpp
+++ b/contrib/restricted/boost/system/include/boost/system/detail/system_category_message_win32.hpp
@@ -73,7 +73,7 @@ inline char const * system_category_message_win32( int ev, char * buffer, std::s
DWORD_ retval = boost::winapi::FormatMessageA(
FORMAT_MESSAGE_FROM_SYSTEM_ | FORMAT_MESSAGE_IGNORE_INSERTS_,
NULL,
- ev,
+ static_cast<DWORD_>(ev),
MAKELANGID_( LANG_NEUTRAL_, SUBLANG_DEFAULT_ ), // Default language
buffer,
static_cast<DWORD_>( len ),
@@ -94,7 +94,7 @@ inline char const * system_category_message_win32( int ev, char * buffer, std::s
DWORD_ retval = boost::winapi::FormatMessageW(
FORMAT_MESSAGE_ALLOCATE_BUFFER_ | FORMAT_MESSAGE_FROM_SYSTEM_ | FORMAT_MESSAGE_IGNORE_INSERTS_,
NULL,
- ev,
+ static_cast<DWORD_>(ev),
MAKELANGID_( LANG_NEUTRAL_, SUBLANG_DEFAULT_ ), // Default language
(LPWSTR_) &lpMsgBuf,
0,
@@ -152,7 +152,7 @@ inline std::string system_category_message_win32( int ev )
DWORD_ retval = boost::winapi::FormatMessageW(
FORMAT_MESSAGE_ALLOCATE_BUFFER_ | FORMAT_MESSAGE_FROM_SYSTEM_ | FORMAT_MESSAGE_IGNORE_INSERTS_,
NULL,
- ev,
+ static_cast<DWORD_>(ev),
MAKELANGID_( LANG_NEUTRAL_, SUBLANG_DEFAULT_ ), // Default language
(LPWSTR_) &lpMsgBuf,
0,
@@ -176,7 +176,7 @@ inline std::string system_category_message_win32( int ev )
return unknown_message_win32( ev );
}
- std::string buffer( r, char() );
+ std::string buffer( static_cast<std::size_t>(r), char() );
r = boost::winapi::WideCharToMultiByte( code_page, 0, lpMsgBuf, -1, &buffer[0], r, NULL, NULL );
@@ -187,12 +187,12 @@ inline std::string system_category_message_win32( int ev )
--r; // exclude null terminator
- while( r > 0 && ( buffer[ r-1 ] == '\n' || buffer[ r-1 ] == '\r' ) )
+ while( r > 0 && ( buffer[ static_cast<std::size_t>(r)-1 ] == '\n' || buffer[ static_cast<std::size_t>(r)-1 ] == '\r' ) )
{
--r;
}
- if( r > 0 && buffer[ r-1 ] == '.' )
+ if( r > 0 && buffer[ static_cast<std::size_t>(r)-1 ] == '.' )
{
--r;
}
diff --git a/contrib/restricted/boost/system/ya.make b/contrib/restricted/boost/system/ya.make
index 47396941675..deb146a20af 100644
--- a/contrib/restricted/boost/system/ya.make
+++ b/contrib/restricted/boost/system/ya.make
@@ -6,9 +6,9 @@ LICENSE(BSL-1.0)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(1.86.0)
+VERSION(1.87.0)
-ORIGINAL_SOURCE(https://github.com/boostorg/system/archive/boost-1.86.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/boostorg/system/archive/boost-1.87.0.tar.gz)
PEERDIR(
contrib/restricted/boost/assert