From 286b66b3853683bd83f58e1834072e058a761c0f Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Wed, 7 Jan 2026 20:08:43 +0300 Subject: [PATCH] Fix -Wsign-conversion warning with gcc 13.3. --- include/boost/uuid/detail/to_chars_x86.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/uuid/detail/to_chars_x86.hpp b/include/boost/uuid/detail/to_chars_x86.hpp index 77ffe82..192a4c7 100644 --- a/include/boost/uuid/detail/to_chars_x86.hpp +++ b/include/boost/uuid/detail/to_chars_x86.hpp @@ -208,7 +208,7 @@ BOOST_FORCEINLINE Char* to_chars_simd(uuid const& u, Char* out) noexcept #if defined(BOOST_UUID_USE_SSE41) detail::store_native_u32(out + 32, static_cast(_mm_extract_epi32(mm_chars3, 3))); #else - detail::store_native_u32(out + 32, _mm_cvtsi128_si32(_mm_srli_si128(mm_chars3, 12))); + detail::store_native_u32(out + 32, static_cast(_mm_cvtsi128_si32(_mm_srli_si128(mm_chars3, 12)))); #endif } else BOOST_IF_CONSTEXPR (sizeof(Char) == 2u)