mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
Merge PR #750: Memory.c: fix pointer cast in TrackChangeObjSize() call
This commit is contained in:
commit
c10fdcff2c
@ -3915,7 +3915,7 @@ void *InternalReAlloc(void *addr, UINT size)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef DONT_USE_KERNEL_STATUS
|
#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
|
#endif // DONT_USE_KERNEL_STATUS
|
||||||
|
|
||||||
return new_addr;
|
return new_addr;
|
||||||
|
Loading…
Reference in New Issue
Block a user