Use size_t instead of long to represent memory usage. long is 32 bits
on 64-bit Windows.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19393 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/System/Win32/Process.inc b/lib/System/Win32/Process.inc
index dc46641..392bac2 100644
--- a/lib/System/Win32/Process.inc
+++ b/lib/System/Win32/Process.inc
@@ -51,7 +51,7 @@
return PageSize;
}
-uint64_t
+size_t
Process::GetMallocUsage()
{
_HEAPINFO hinfo;
@@ -65,7 +65,7 @@
return size;
}
-uint64_t
+size_t
Process::GetTotalMemoryUsage()
{
PROCESS_MEMORY_COUNTERS pmc;