diff --git a/include/blt/std/allocator.h b/include/blt/std/allocator.h index f310c9d..9d0476b 100644 --- a/include/blt/std/allocator.h +++ b/include/blt/std/allocator.h @@ -451,7 +451,7 @@ namespace blt back.offset += (back.buffer - new_ptr + sizeof(T)); back.allocated_objects++; } - return static_cast(new_ptr); + return reinterpret_cast(new_ptr); } public: