2
0
mirror of https://github.com/boostorg/uuid.git synced 2026-01-19 04:42:16 +00:00

Avoid -Wconversion warning in detail/md5.hpp

This commit is contained in:
Peter Dimov
2026-01-04 17:04:21 +02:00
parent 7340079ffd
commit 09a6a81b6b

View File

@@ -260,7 +260,7 @@ private:
saved_lo = ctx->lo;
if ((ctx->lo = (saved_lo + size) & 0x1fffffff) < saved_lo)
ctx->hi++;
ctx->hi += size >> 29;
ctx->hi += static_cast<std::uint32_t>( size >> 29 );
used = saved_lo & 0x3f;