diff --git a/libs/core/concurrency/include/hpx/concurrency/detail/tagged_ptr_ptrcompression.hpp b/libs/core/concurrency/include/hpx/concurrency/detail/tagged_ptr_ptrcompression.hpp index a5d5fbf961a0..d780830664bd 100644 --- a/libs/core/concurrency/include/hpx/concurrency/detail/tagged_ptr_ptrcompression.hpp +++ b/libs/core/concurrency/include/hpx/concurrency/detail/tagged_ptr_ptrcompression.hpp @@ -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(ptr), tag); + cast_unit ret(hpx::bit_cast(ptr), tag); return ret.value; }