diff --git a/include/blt/std/allocator.h b/include/blt/std/allocator.h index 5e8f98a..e4df35f 100644 --- a/include/blt/std/allocator.h +++ b/include/blt/std/allocator.h @@ -482,7 +482,7 @@ namespace blt template void deallocate(T* p) { - auto* ptr = static_cast(p); + auto* ptr = reinterpret_cast(p); blt::i64 remove_index = -1; for (auto e : blt::enumerate(blocks)) {