Skip to content

Commit

Permalink
Merge pull request #6560 from STEllAR-GROUP/fixing_6426
Browse files Browse the repository at this point in the history
Fixes for bit_cast on 32bit systems
  • Loading branch information
hkaiser authored Nov 4, 2024
2 parents 5534e6e + 698524f commit 183bd6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ namespace hpx::lockfree::detail {

static constexpr compressed_ptr_t pack_ptr(T* ptr, tag_t tag) noexcept
{
cast_unit ret(hpx::bit_cast<compressed_ptr_t>(ptr), tag);
cast_unit ret(hpx::bit_cast<std::size_t>(ptr), tag);
return ret.value;
}

Expand Down

0 comments on commit 183bd6e

Please sign in to comment.