diff options
Diffstat (limited to 'deimos/core/temp_allocator.cpp')
-rw-r--r-- | deimos/core/temp_allocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deimos/core/temp_allocator.cpp b/deimos/core/temp_allocator.cpp index 2f07bcc..d2b7900 100644 --- a/deimos/core/temp_allocator.cpp +++ b/deimos/core/temp_allocator.cpp @@ -41,7 +41,7 @@ public: if (new_current > m_commit_end)
{
const int64_t new_commit_size = AlignUp(
- (uint64_t)(std::bit_cast<uintptr_t>(new_current) - std::bit_cast<uintptr_t>(m_base)), // NOLINT
+ (int64_t)(std::bit_cast<uintptr_t>(new_current) - std::bit_cast<uintptr_t>(m_base)), // NOLINT
kPageSize);
os_api->virtual_memory->Commit(m_base, new_commit_size);
m_commit_end = OffsetBytes(m_base, new_commit_size);
|