mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00: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
|