diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-01-08 20:15:57 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-01-08 20:15:57 +0000 |
commit | 1a26d15c8068f32c76035a431935804aad69d5f7 (patch) | |
tree | d4cea6f1c0310a42a9408bd4f84f819befcb3607 /llvm/lib/System/Win32 | |
parent | 4588542d3907d609168f551b2fa1809616f65fe8 (diff) | |
download | bcm5719-llvm-1a26d15c8068f32c76035a431935804aad69d5f7.tar.gz bcm5719-llvm-1a26d15c8068f32c76035a431935804aad69d5f7.zip |
Use size_t instead of long to represent memory usage. long is 32 bits
on 64-bit Windows.
llvm-svn: 19393
Diffstat (limited to 'llvm/lib/System/Win32')
-rw-r--r-- | llvm/lib/System/Win32/Process.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/System/Win32/Process.cpp b/llvm/lib/System/Win32/Process.cpp index dc4664109de..392bac2e471 100644 --- a/llvm/lib/System/Win32/Process.cpp +++ b/llvm/lib/System/Win32/Process.cpp @@ -51,7 +51,7 @@ Process::GetPageSize() { return PageSize; } -uint64_t +size_t Process::GetMallocUsage() { _HEAPINFO hinfo; @@ -65,7 +65,7 @@ Process::GetMallocUsage() return size; } -uint64_t +size_t Process::GetTotalMemoryUsage() { PROCESS_MEMORY_COUNTERS pmc; |