summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug')
-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)
{