Kernel: Specify template paramenters where they cannot be deduced

This commit is contained in:
2024-03-22 13:34:26 +02:00
parent 7f029b2713
commit b5aae34d86
2 changed files with 3 additions and 3 deletions

View File

@@ -240,7 +240,7 @@ namespace Kernel
return BAN::Error::from_errno(ENOMEM);
auto region = BAN::UniqPtr<FramebufferMemoryRegion>::adopt(region_ptr);
TRY(region->initialize({ m_vaddr, m_vaddr + BAN::Math::div_round_up(m_size, PAGE_SIZE) * PAGE_SIZE }));
TRY(region->initialize({ m_vaddr, m_vaddr + BAN::Math::div_round_up<uintptr_t>(m_size, PAGE_SIZE) * PAGE_SIZE }));
return BAN::UniqPtr<MemoryRegion>(BAN::move(region));
}