Skip to content

Commit

Permalink
Merge pull request #163 from k3DW/sign-conversion
Browse files Browse the repository at this point in the history
Fix sign conversion error
  • Loading branch information
pdimov authored Aug 18, 2024
2 parents 02c82ce + 3ff6317 commit 9bb726c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/uuid/uuid_clock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ inline uuid_clock::time_point uuid_clock::from_timestamp( std::uint64_t timestam

inline std::uint64_t uuid_clock::to_timestamp( time_point const& tp ) noexcept
{
return tp.time_since_epoch().count();
return static_cast<std::uint64_t>(tp.time_since_epoch().count());
}

} // uuids
Expand Down

0 comments on commit 9bb726c

Please sign in to comment.