diff --git a/src/Mayaqua/Memory.c b/src/Mayaqua/Memory.c index 41694735..a82d8962 100644 --- a/src/Mayaqua/Memory.c +++ b/src/Mayaqua/Memory.c @@ -3915,7 +3915,7 @@ void *InternalReAlloc(void *addr, UINT size) } #ifndef DONT_USE_KERNEL_STATUS - TrackChangeObjSize((DWORD)addr, size, (DWORD)new_addr); + TrackChangeObjSize(POINTER_TO_UINT64(addr), size, POINTER_TO_UINT64(new_addr)); #endif // DONT_USE_KERNEL_STATUS return new_addr;