From a6d63ae7278d1ed56968a8572663b70d5c547343 Mon Sep 17 00:00:00 2001 From: Mr-Wiseguy Date: Thu, 17 Oct 2024 01:20:53 -0400 Subject: [PATCH] More fixes --- tests/internal.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/internal.hpp b/tests/internal.hpp index 7737cd8..2e5bbf7 100644 --- a/tests/internal.hpp +++ b/tests/internal.hpp @@ -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(reinterpret_cast(fragment) - - reinterpret_cast(heap_instance)); + return static_cast(reinterpret_cast(fragment) - + reinterpret_cast(heap_instance)); } constexpr internal::FragmentOffset NULLFRAGMENT = 0;