diff options
Diffstat (limited to 'src/debug/di/shimlocaldatatarget.cpp')
-rw-r--r-- | src/debug/di/shimlocaldatatarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/di/shimlocaldatatarget.cpp b/src/debug/di/shimlocaldatatarget.cpp index c4a5263810..36ea611af2 100644 --- a/src/debug/di/shimlocaldatatarget.cpp +++ b/src/debug/di/shimlocaldatatarget.cpp @@ -322,7 +322,7 @@ ShimLocalDataTarget::ReadVirtual( { // Calculate bytes to read and don't let read cross // a page boundary. - readSize = OS_PAGE_SIZE - (ULONG32)(address & (OS_PAGE_SIZE - 1)); + readSize = GetOsPageSize() - (ULONG32)(address & (GetOsPageSize() - 1)); readSize = min(cbRequestSize, readSize); if (!ReadProcessMemory(m_hProcess, (PVOID)(ULONG_PTR)address, |