diff options
Diffstat (limited to 'kernel/kapi/memory.cpp')
| -rw-r--r-- | kernel/kapi/memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kapi/memory.cpp b/kernel/kapi/memory.cpp index 91a6c2c7..4cba7238 100644 --- a/kernel/kapi/memory.cpp +++ b/kernel/kapi/memory.cpp @@ -140,7 +140,7 @@ namespace kapi::memory }); auto bitmap = - std::span{bitmap_ptr, (bitmap_bytes + kstd::type_size<std::uint64_t> - 1_B) / kstd::type_size<std::uint64_t>}; + std::span{bitmap_ptr, (bitmap_bytes + kstd::size_of<std::uint64_t>() - 1_B) / kstd::size_of<std::uint64_t>()}; allocator.emplace(bitmap, frame_count); |
