diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-24 00:29:16 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-24 00:29:16 +0200 |
commit | 98c8fd5d39ee645922f071b6433308a813245500 (patch) | |
tree | 36804c19823b601608c3c44694f6db20aa8ce21a /deimos/core/temp_allocator.cpp | |
parent | 85985c4408906b18eb451ca94edabaa0c3607817 (diff) |
Add custom formatter & use it on Status
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);
|