mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 15:23:26 +03:00
12 lines
354 B
Diff
12 lines
354 B
Diff
--- a/boost/uuid/detail/uuid_x86.hpp
|
|
+++ b/boost/uuid/detail/uuid_x86.hpp
|
|
@@ -100,7 +100,7 @@ inline bool operator< (uuid const& lhs, uuid const& rhs) BOOST_NOEXCEPT
|
|
cmp = (cmp - 1u) ^ cmp;
|
|
rcmp = (rcmp - 1u) ^ rcmp;
|
|
|
|
- return static_cast< uint16_t >(cmp) < static_cast< uint16_t >(rcmp);
|
|
+ return cmp < rcmp;
|
|
}
|
|
|
|
} // namespace uuids
|