From 1a26d15c8068f32c76035a431935804aad69d5f7 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. llvm-svn: 19393 --- llvm/lib/System/Unix/Process.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/System/Unix/Process.cpp') diff --git a/llvm/lib/System/Unix/Process.cpp b/llvm/lib/System/Unix/Process.cpp index cccd3ffcb67..1c1373ebb5c 100644 --- a/llvm/lib/System/Unix/Process.cpp +++ b/llvm/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