From e269a1ac1cd795135e91e42527a9814f4807c75a Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Sat, 8 Jan 2005 20:15:57 +0000 Subject: 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 --- lib/System/Unix/Process.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/System/Unix/Process.cpp') diff --git a/lib/System/Unix/Process.cpp b/lib/System/Unix/Process.cpp index cccd3ffcb6..1c1373ebb5 100644 --- a/lib/System/Unix/Process.cpp +++ b/lib/System/Unix/Process.cpp @@ -47,7 +47,7 @@ Process::GetPageSize() static char* som = reinterpret_cast(::sbrk(0)); #endif -uint64_t +size_t Process::GetMallocUsage() { #if defined(HAVE_MALLINFO) @@ -68,7 +68,7 @@ Process::GetMallocUsage() #endif } -uint64_t +size_t Process::GetTotalMemoryUsage() { #if defined(HAVE_MALLINFO) -- cgit v1.2.3-18-g5258