1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 09:29:52 +03:00

Merge PR #750: Memory.c: fix pointer cast in TrackChangeObjSize() call

This commit is contained in:
Davide Beatrici 2018-10-14 08:07:33 +02:00 committed by GitHub
commit c10fdcff2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;