Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Wiseguy committed Oct 17, 2024
1 parent ba9fa42 commit a6d63ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/internal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ inline auto GET_FRAGMENT(const internal::O1HeapInstance* const heap_instance, Fr
inline auto GET_OFFSET(const internal::O1HeapInstance* heap_instance, const internal::Fragment* const fragment)
-> FragmentOffset
{
return static_cast<FragmentOffset>(reinterpret_cast<const char* const>(fragment) -
reinterpret_cast<const char* const>(heap_instance));
return static_cast<FragmentOffset>(reinterpret_cast<const char*>(fragment) -
reinterpret_cast<const char*>(heap_instance));
}

constexpr internal::FragmentOffset NULLFRAGMENT = 0;
Expand Down

0 comments on commit a6d63ae

Please sign in to comment.