From 2c5e4ed8f9c651d8421f90bd482462c219a4e87b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 8 Jan 2005 19:31:31 +0000 Subject: [PATCH] Silence a VS warning. llvm-svn: 19377 --- llvm/lib/Support/Timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Support/Timer.cpp b/llvm/lib/Support/Timer.cpp index 4b273b02ff91..38a8b449f34e 100644 --- a/llvm/lib/Support/Timer.cpp +++ b/llvm/lib/Support/Timer.cpp @@ -95,7 +95,7 @@ Timer::~Timer() { static inline long getMemUsage() { if (TrackSpace) - return sys::Process::GetMallocUsage(); + return (long)sys::Process::GetMallocUsage(); return 0; }