From 98c8fd5d39ee645922f071b6433308a813245500 Mon Sep 17 00:00:00 2001
From: Steven Le Rouzic <steven.lerouzic@gmail.com>
Date: Wed, 24 Apr 2024 00:29:16 +0200
Subject: Add custom formatter & use it on Status

---
 deimos/core/temp_allocator.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'deimos/core/temp_allocator.cpp')

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);
-- 
cgit