summaryrefslogtreecommitdiff
path: root/src/debug/debug_new.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/debug_new.cpp')
-rw-r--r--src/debug/debug_new.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/debug_new.cpp b/src/debug/debug_new.cpp
index 85c3fb812..7119ece2a 100644
--- a/src/debug/debug_new.cpp
+++ b/src/debug/debug_new.cpp
@@ -624,7 +624,7 @@ int check_leaks()
while (ptr != &new_ptr_list)
{
- const char* const pointer = reinterpret_cast<const char *const>(ptr)
+ const char* const pointer = reinterpret_cast<const char *>(ptr)
+ ALIGNED_LIST_ITEM_SIZE;
if (ptr->magic != MAGIC)
{